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 | e3b0d7320d8ce77a23840a3027ab3678c152ab3a (patch) | |
| tree | f1dda39296b6911752cd4b6446a21f2e54ff68e1 /lib/net | |
| parent | 950abe3995d64e96d387eb01f34ec146296b306f (diff) | |
| download | ruby-e3b0d7320d8ce77a23840a3027ab3678c152ab3a.tar.gz ruby-e3b0d7320d8ce77a23840a3027ab3678c152ab3a.tar.xz ruby-e3b0d7320d8ce77a23840a3027ab3678c152ab3a.zip | |
matz
git-svn-id: http://svn.ruby-lang.org/repos/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 3c2d97c3b..a40b3532b 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" |
