Getting a true http address from file object's uri (Drupal 7
There's a nice in-built function, file_create_url():


  Creates a web-accessible URL for a stream to an external or local file.


e.g.

$url = file_create_url($file-&gt;uri);