It's being called from an attempt to connect to an FTP site. So, it's not really an out of data per se, but a failure to connect. Of course, the implementation may result in that failure causing no data to be available - but it would be a lot clearer if it would a) let me know that it didn't connect and b) forward on the OS socket level error. Or am I missing something? If the connection did work, but the host just didn't send any data (ie, broken FTP implementation), it's weird that several people are reporting it - and that it doesn't seem to occur outside of ftp.rb. (ie with other languages). On Jan 23, 7:14 pm, Eric Hodel <drbr... / segment7.net> wrote: > On Jan 23, 2007, at 13:20, S. Robert James wrote: > > > S. Robert James wrote: > >> perhaps whoever maintains ftp.rb could make a more > >> comprehnsible error message (along with the actual OS level socket > >> error). > > > PS - Who do I speak to about this?I'm pretty sure its exactly an EOFError. (You have run out of data > to read.) > > $ ruby -rstringio > s = StringIO.new "foo\nbar" > s.readline > s.readline > s.readline > -:4:in `readline': end of file reached (EOFError) > from -:4 > > Why you've run out of data is more difficult to determine. "out of > data waiting for 'X' may be more helpful, but I'm not sure how easy > that is to determine though. > > -- > Eric Hodel - drbr... / segment7.net -http://blog.segment7.net > > I LIT YOUR GEM ON FIRE!