From: Koen Vervloesem Date: 2004-10-27T07:03:26+09:00 Subject: FTP list fails on Mac OS 10.3 Hi, The following example program of PickAxe 2 fails on Mac OS 10.3: require 'net/ftp' ftp = Net::FTP.new('ftp.netlab.co.jp') ftp.login ftp.list ftp.close /sw/lib/ruby/1.8/net/ftp.rb:276:in `initialize': Protocol not supported - socket(2) (Errno::EPROTONOSUPPORT) from /sw/lib/ruby/1.8/net/ftp.rb:276:in `open' from /sw/lib/ruby/1.8/net/ftp.rb:276:in `makeport' from /sw/lib/ruby/1.8/net/ftp.rb:310:in `transfercmd' from /sw/lib/ruby/1.8/net/ftp.rb:402:in `retrlines' from /sw/lib/ruby/1.8/net/ftp.rb:400:in `synchronize' from /sw/lib/ruby/1.8/net/ftp.rb:415:in `retrlines' from /sw/lib/ruby/1.8/net/ftp.rb:609:in `list' from test.rb:4 Apparently the login works, but the list fails. This occurs also with other ftp servers. What's happening here? koan$ ruby -v ruby 1.8.0 (2003-08-04) [powerpc-darwin] koan$ sw_vers ProductName: Mac OS X ProductVersion: 10.3.5 BuildVersion: 7M34 Koen -- "Time is what keeps everything from happening at once."