From c263872d631a67dbc1c9ecd8e3ecf9f9b8ba2c23 Mon Sep 17 00:00:00 2001 From: shugo Date: Wed, 28 Oct 2009 04:09:20 +0000 Subject: * lib/net/ftp.rb (Net::FTP#initialize): sets @binary to true. * lib/net/ftp.rb (Net::FTP#binary=): sends a TYPE command only when logged in. [ruby-dev:39548] * lib/net/ftp.rb (Net::FTP#send_type_command): new private method which sends an appropriate TYPE command according to the value of @binary. * lib/net/ftp.rb (Net::FTP#login): calls send_type_command instead of binary=. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 629765504..a96dea362 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +Wed Oct 28 13:02:10 2009 Shugo Maeda + + * lib/net/ftp.rb (Net::FTP#initialize): sets @binary to true. + + * lib/net/ftp.rb (Net::FTP#binary=): sends a TYPE command only when + logged in. [ruby-dev:39548] + + * lib/net/ftp.rb (Net::FTP#send_type_command): new private method + which sends an appropriate TYPE command according to the value of + @binary. + + * lib/net/ftp.rb (Net::FTP#login): calls send_type_command instead + of binary=. + Tue Oct 27 22:46:44 2009 NARUSE, Yui * lib/net/ftp.rb (Net::FTP#initialize): @sock = nil. -- cgit