From: Martin Stannard Date: 2002-04-06T13:35:28+09:00 Subject: ftp & getaddrinfo Hi, I've trying a simple ftp test as follows: require 'net/ftp' ftp = Net::FTP.new('members.optushome.com.au', 'martin', '********') begin ftp.login rescue => bang puts 'exception :' + bang end files = ftp.chdir('tasmania') files = ftp.list('*') ftp.close ===================== This outout of this is: exception :getaddrinfo: Name or service not known mandy_640x480.jpg craterlake_640x480.jpg waratah_640x480.jpg ontop_640x480.jpg walk_640x480.jpg grasswalk_640x480.jpg ===================== So the login succeeds and the ftp connection can be used as long as the exception is caught. Why is this exception raised? This is on: [martin@co3013842-a martin]$ ruby -v ruby 1.6.7 (2002-03-01) [i686-linux] [martin@co3013842-a martin]$ uname -a Linux co3013842-a 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 unknown Martin