On Sat, 12 Mar 2005, Louis Solomon [SteelBytes] wrote:
this doesn't (ftp upload and download via squid):
curl --upload-file test.zip ftp://ftp.server.tld/ --proxy server:8080 --proxytunnel
curl ftp://ftp.server.tld/test.zip --output test2.zip --proxy server:8080 --proxytunnel
fc /b test.zip test2.zip
This abused the CONNECT method and is not supposed to work.
Note: same with all tested clients (curl and smartftp) and servers (iis6 & Pure-FTPd on some *nix)
Any client trying to use the CONNECT method for non-SSL traffic will have problems if the client terminates the connection first.
The CONNECT method is only designed for tunneling of SSL traffic via the proxy, not other uses.
For general purpose proxying you should use SOCKS.
Regards Henrik