I got a small issue, I am using urllib.urlretreive to download files
but in some cases I'm downloading from a CGI that is redirecting
urlretrieve to a different url.

Example:

urllib.urlretreive('http://someurl.com/files.asp?file=55',
'tempFileName.tmp')

Is there a way to know what filename files.asp is redirecting to so I
can rename tempFileName.tmp to the correct name?

Thanks in advance,
Ray

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to