From: Sam Duncan Date: 2011-09-19T10:30:54+09:00 Subject: Re: FTP ports Sorry, my suggestion may not have been that helpful as, despite the docs I linked, you don't seem to be able to get to the passive attribute which looks like it is only set when you have SOCKS_PROXY env var set. FTP uses more than one port, and you might have them firewalled. You could try using a SOCKS proxy. Sam On 19/09/11 13:18, Reese Chappuis wrote: > The connect method suggestion didn't work. And I just noticed another thing- > the port number in the error keeps changing. In one test it was 11742, and > in the next it was 11728. > > On Sun, Sep 18, 2011 at 7:48 PM, Michael Bostler wrote: > >> maybe try using the connect method to manually specify the port number >> >> rdoc at >> http://ruby-doc.org/stdlib/libdoc/net/ftp/rdoc/classes/Net/FTP.html#M001264 >> >> usage example at http://4loc.wordpress.com/2008/12/04/using-ftp-in-ruby/ >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> >