FTP Upload through Proxy

Anand B Pillai abpillai at lycos.com
Sat Apr 5 07:00:51 EST 2003


I think you need to use ProxyHandler along with 'FTPHandler'
for authorization.

This is the link to a similar post with some answers. Mighe be
helpful.

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&frame=right&th=1cfe3e41fd22595b&seekm=bd993a2f.0303190641.28ca1072%40posting.google.com#link1

Regards

Anand Pillai


soulayrol at free.fr (David) wrote in message news:<cbdb2fee.0304040558.200651b8 at posting.google.com>...
> Hi.
> 
> I'm new to Python, and for my first app, I try among other things to
> upload a file with FTP.
> 
> I read many messages here about urllib2 and proxies, but it seems that
> urllib2 only authorize URL resolution and read access on content.
> On the other hand, there is ftplib, but there is no proxy related
> methods on it.
> 
> What is the good solution, since I don't know anything of my proxy
> here, and i'd like it to work almost everywhere ?
> 
> Thanks.
> David.




More information about the Python-list mailing list