Best way to connect to ftp server through proxy?

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

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 <shane@digitalsanctum.com>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