Ruby FTP broken in Panther?

G

George Girton

On panther, Ruby 1.8.0 and 1.6.8, this fails for me. (ftp connection
opens ok)
ftp.puttextfile("testfile.htm", "testfile.htm"),

/usr/local/lib/ruby/1.8/net/ftp.rb:276:in `addr': getnameinfo: nodename
nor servname provided, or not known (SocketError)
from /usr/local/lib/ruby/1.8/net/ftp.rb:276:in `makeport'
from /usr/local/lib/ruby/1.8/net/ftp.rb:310:in `transfercmd'
from /usr/local/lib/ruby/1.8/net/ftp.rb:451:in `storlines'
from /usr/local/lib/ruby/1.8/net/ftp.rb:449:in `synchronize'
from /usr/local/lib/ruby/1.8/net/ftp.rb:463:in `storlines'
from /usr/local/lib/ruby/1.8/net/ftp.rb:554:in `puttextfile'


Same code works o.k. on Windows. Any ideas what to try next?

George Girton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top