==========================================
# Give user the file requested
url = "http://superhost.gr/data/files/%s"; % realfile
response = requests.get( url, stream=True )

with open( realfile, 'wb' ) as f:
f.write( response.content )
==========================================

The above code will download and save the specific file locally to the server 
where the python script is running.

What alternation does this need to be able to send it to the client's browser?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to