# Ruby FTP broken in Panther?

**URL:** <https://rubytalk.org/t/ruby-ftp-broken-in-panther/8862>\
**Category:** ruby-talk\
**Created:** [17 November 2003 04:59 UTC](https://rubytalk.org/t/ruby-ftp-broken-in-panther/8862 "2003-11-17T04:59:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Girton](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@George\_Girton](https://rubytalk.org/u/George_Girton)\
**Post date:** [17 November 2003 04:59 UTC](https://rubytalk.org/t/ruby-ftp-broken-in-panther/8862/1 "2003-11-17T04:59:01Z")

</div>

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
