зеркало из https://github.com/github/ruby.git
* lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for
anonymous login was changed to "anonymous@" in r25313. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5877dcbb13
Коммит
537dac2713
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Apr 10 23:41:21 2014 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
|
* lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for
|
||||||
|
anonymous login was changed to "anonymous@" in r25313.
|
||||||
|
|
||||||
Thu Apr 10 19:22:58 2014 Koichi Sasada <ko1@atdot.net>
|
Thu Apr 10 19:22:58 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* test/ruby/test_array.rb: remove useless `assert'.
|
* test/ruby/test_array.rb: remove useless `assert'.
|
||||||
|
|
|
@ -443,12 +443,12 @@ module Net
|
||||||
private :transfercmd
|
private :transfercmd
|
||||||
|
|
||||||
#
|
#
|
||||||
# Logs in to the remote host. The session must have been previously
|
# Logs in to the remote host. The session must have been
|
||||||
# connected. If +user+ is the string "anonymous" and the +password+ is
|
# previously connected. If +user+ is the string "anonymous" and
|
||||||
# +nil+, a password of <tt>user@host</tt> is synthesized. If the +acct+
|
# the +password+ is +nil+, "anonymous@" is used as a password. If
|
||||||
# parameter is not +nil+, an FTP ACCT command is sent following the
|
# the +acct+ parameter is not +nil+, an FTP ACCT command is sent
|
||||||
# successful login. Raises an exception on error (typically
|
# following the successful login. Raises an exception on error
|
||||||
# <tt>Net::FTPPermError</tt>).
|
# (typically <tt>Net::FTPPermError</tt>).
|
||||||
#
|
#
|
||||||
def login(user = "anonymous", passwd = nil, acct = nil)
|
def login(user = "anonymous", passwd = nil, acct = nil)
|
||||||
if user == "anonymous" and passwd == nil
|
if user == "anonymous" and passwd == nil
|
||||||
|
|
Загрузка…
Ссылка в новой задаче