On 2/03/2010 4:03 AM, Christophe Deze wrote:
hello
I wrote a windows app that must download file
it works fine with urllib.urlretrieve.
But I want to download file through a proxy with NTLM
(samba)authentication .
I want to use windows sessions credential transparently, as IE and
Firefox do well...
Try looking at the pywin32 sample win32\Demos\security\sspi\fetch_url.py
- it uses NTLM to download stuff directly from the destination server,
but you may be able to hack it into working with a proxy wanting auth.
HTH,
Mark
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32