Does the standard ftplib module support proxies?
Jeffrey Kunce
KUNCEJ at mail.conservation.state.mo.us
Mon Apr 12 10:52:00 EDT 1999
The standard urllib.py also supports proxies. I don't think the library manual explains it, and I found the internal docs insufficient. Search dejanews for urllib and proxy to find some help.
Basically, you set an environment variable that defines the proxy:
(NT example)
SET http_proxy=http://204.71.200.68:8080
and urllib takes it from there.
For me it works on a standard proxy, but not with a socks server
This is just from my [recent] experience with a new firewall that was imposed on me. I'm not an expert on the subject. I hope the urllib documentation can be improved in this area. Maybe a python/firewall HOWTO is in order?
--Jeff
>>> Paul Moore <gustav at morpheus.demon.co.uk> 04/11/99 04:26pm >>>
The header says it all... I've looked in the manual, but I can't see
anything about proxy (firewall) support, one way or another.
Actually, the same question applies to httplib and urllib.
Thanks,
Paul Moore.
More information about the Python-list
mailing list