From: Shane Witbeck Date: 2008-08-21T23:54:38+09:00 Subject: Re: best way to connect to ftp server through proxy? ------=_Part_45338_8233757.1219330621955 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Replying to my own post in case anyone else needs the code (all of one line)... open("somefile.zip","wb").write(open("ftp://username:password@host:port/remotefile.zip", :proxy=>"http://proxyhost:proxyport").read) -Shane On Wed, Aug 20, 2008 at 4:14 PM, Shane Witbeck wrote: > The only docs I found on this is using a SOCKS proxy. What's the best way > to > connect to an FTP server through a non-SOCKS proxy? > > > -Shane > ------=_Part_45338_8233757.1219330621955--