diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-10 04:49:24 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-10 04:49:24 +0000 |
commit | c67a74570dd056569763f5015e0aafa7d454fca7 (patch) | |
tree | f1dda39296b6911752cd4b6446a21f2e54ff68e1 /lib/net | |
parent | 3043170b14875ce53f3a951d665279b12c2c63a8 (diff) |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/ftp.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 3c2d97c3b3..a40b3532b1 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -377,7 +377,7 @@ module Net end end - def putbinaryfile(localfile, remotefile, blocksize, callback = nil) + def putbinaryfile(localfile, remotefile, blocksize = 4096, callback = nil) if iterator? callback = Proc.new end @@ -635,7 +635,7 @@ module Net host = (@sock.peeraddr())[3] return host, port end - private :parse228 + private :parse229 def parse257(resp) if resp[0, 3] != "257" |