diff options
-rw-r--r-- | lib/ftplib.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/ftplib.rb b/lib/ftplib.rb index 9336e0a8c2..494c3bef83 100644 --- a/lib/ftplib.rb +++ b/lib/ftplib.rb @@ -1,7 +1,7 @@ ## ftplib.rb -# Author: Shugo Maeda <shugo@po.aianet.ne.jp> -# Version: $Revision: 1.7 $ +# Author: Shugo Maeda <shugo@netlab.co.jp> +# Version: 1.7.1 ## Code: @@ -15,9 +15,6 @@ class FTPPermError < FTPError; end class FTPProtoError < FTPError; end class FTP - - RCS_ID = %q$Id: ftplib.rb,v 1.7 1998/04/13 12:34:24 shugo Exp shugo $ - include MonitorMixin FTP_PORT = 21 @@ -311,7 +308,7 @@ class FTP buf = file.gets break if buf == nil if buf[-2, 2] != CRLF - buf = buf.chop + CRLF + buf = buf.chomp + CRLF end conn.write(buf) callback.call(buf) if use_callback |