PDA

View Full Version : FTP Upload through SOCKS4 Proxy



mepex
01-08-2007, 10:51 AM
I need to ul/dl files via FTP, but port 21 is blocked where I am, so I go through a SOCKS4 proxy. I can connect to the FTP site just fine, I see all the files I expect to, and I can even download files. But I cannot upload... SmartFTP just works for a few seconds, then bails out with only a few KB actually transferred.

One thing I noticed in my forum searches is that some people say you need to use active transfer mode (PORT mode), as opposed to passive (PASV) but others say the opposite. FWIW, SmartFTP requires PASV mode when going through a SOCKS proxy. It's also interesting to note if I access the FTP normally from a machine someplace else that does not require a proxy, I can ul/dl just fine.

The real bummer is I can access other FTP sites through the proxy using SmartFTP, and ul without problems as well, it's only my BT FTP site that doesn't work.

Any ideas? Am I just screwed?

areidmtm
01-08-2007, 11:25 AM
Enable SSH on your account and you can connect with port 22

mepex
01-08-2007, 12:30 PM
Thanks, I will explore that.

mepex
01-10-2007, 10:22 AM
I'm having the same problem with SSH! I try to connect via SFTP using WinSCP going through the proxy, and I get problems when I upload, I'm constantly getting error messages.

"Server sent disconnect message type 2 (SSH_DISCONNECT_PROTOCOL_ERROR): Bad packet length"

WiinSCP is sophisticated enough to reconnect and resume, but the overall bandwidth is horrible. I can download just fine.