urlretrieve get file name

Gabriel Genellina gagsl-py at yahoo.com.ar
Fri Nov 10 01:27:22 CET 2006

At Thursday 9/11/2006 20:52, Sven wrote:

>Thanks for your help, but I'm a guy with no luck. :-) I can't get the
>file name from response header...

Try using a browser and "Save as..."; if it suggests a file name, it 
*must* be in the headers - so look again carefully.
If it does not suggests a filen ame, the server is not providing one 
(there is no obligation to do so).

Gabriel Genellina
Softlab SRL 

Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

More information about the Python-list mailing list