[ftputil] FTP Through HTTP Proxy
Stefan Schwarzer
sschwarzer at sschwarzer.net
Sun Mar 25 22:29:39 CEST 2007
Hello Alexander,
On 2007-03-14 20:09, Alexander Michael wrote:
> I am hoping that someone on this list can point me in the right
> direction. I've been using ftputil to download files from an FTP
> server via an FTP proxy through a custom class derived from ftplib.FTP
> (to go through the proxy). Unfortunately, my company is shutting down
> thr FTP proxy and I am being forced to pull files through the HTTP
> proxy (i.e. if I type ftp://username:password@ftpserver into my
> browser, I can see a list of files on the server).
Since you access the path with the ftp:// protocol part
prepended, there seems to be no HTTP server or proxy involved.
Note that many web browsers support FTP directly, and, if I'm not
mistaken, the ftp:// means that HTTP isn't used at all.
Do you have any FTP proxies set in your browser configuration?
If you are using a Unix-type operating system, you should also
look at the ftp_proxy environment variable. I don't know what's
used on Windows. I assume you can set FTP proxies with a GUI
dialog or at least low-level with a registry editor.
Can you directly log into the FTP server with a standalone FTP
client? It may be that the company indeed shut down the FTP proxy -
and you now can access the server directly. :-)
Does that help?
Stefan
More information about the ftputil
mailing list