shugo
65867866a8
* lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, and
...
returns retrieved data if localfile is nil.
* lib/net/ftp.rb: (gettextfile): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-15 14:54:03 +00:00
shugo
9e9fdc1592
* lib/net/ftp.rb (binary=): send TYPE commands only once.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-20 12:15:07 +00:00
shugo
87fb7bb66d
* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
...
Thanks, Rutger Nijlunsing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 06:56:23 +00:00
gsinclair
d9c41de9cc
* lib/net/ftp.rb: ported documentation improvement from 1.8 branch
...
* lib/net/imap.rb: ditto
* lib/net/pop.rb: ditto
* lib/net/smtp.rb: ditto
* lib/net/telnet.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 14:42:43 +00:00
nobu
92f0be2037
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
...
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:19:47 +00:00
gsinclair
be7c88a3e2
Small documentation update, including source attribution.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-21 09:56:21 +00:00
gsinclair
f3f7c40c49
Small changes to documentation; mainly hiding things from RDoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-21 09:07:57 +00:00
shugo
1358ec597b
* lib/net/ftp.rb (return_code): obsolete.
...
* lib/net/ftp.rb (last_response_code): new method. lastresp is now
alias to last_response_code.
* lib/net/ftp.rb (last_response): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 15:28:20 +00:00
shugo
e155879b46
* lib/net/ftp.rb (get): fix wrong argument name. Thanks to William
...
Webber.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 01:56:45 +00:00
gsinclair
e078a75b73
Small documentation correction.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 14:27:26 +00:00
matz
fe4de8b4b8
* string.c (rb_str_match2): add warning to "~string".
...
[ruby-list:37751]
* lib/net/ftp.rb (Net::FTP::open): takes block. suggested by Gavin
Sinclair in [ruby-core:01237].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 17:26:04 +00:00
shugo
e0a5ffa941
* lib/net/ftp.rb (storebinary): seek correctly. Thanks, William Webber.
...
* lib/net/ftp.rb (putbinaryfile): rescue FTPPermError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-13 00:26:51 +00:00
gsinclair
e58e5cb5ca
Added RDoc comments. See comments at EOF for remaining issues.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-31 14:33:42 +00:00
shugo
03b60c7068
* lib/net/ftp.rb (set_socket): new method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-18 02:52:48 +00:00
matz
be1d2c5f68
* string.c (rb_str_slice_bang): if there's no corresponding
...
substring, slice! should return nil without exception.
* array.c (rb_ary_insert): type fixed.
* string.c (rb_str_split_m): accept separator value nil as well.
* string.c (rb_str_become): was leaking memory.
* class.c (rb_include_module): should not alter other
classes/modules by inclusion. by this fix, local order may not
be preserved for some cases.
* class.c (include_class_new): module may be T_ICLASS; retrieve
original module information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11 08:22:18 +00:00
shugo
8e346d8cb1
* lib/net/ftp.rb (get): new method.
...
* lib/net/ftp.rb (putt): ditto.
* lib/net/ftp.rb (binary): ditto.
* lib/net/ftp.rb (binary=): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-03 05:28:01 +00:00
shugo
9620b20227
* lib/net/ftp.rb (getbinaryfile): the second argument (localfile)
...
is now optional.
* lib/net/ftp.rb (gettextfile): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-03 04:59:24 +00:00
shugo
f930648ae5
* lib/net/ftp.rb: use &block and yield for speed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-03 04:49:54 +00:00
shugo
a5fd4cec84
* lib/net/ftp.rb (noop): new method.
...
* lib/net/ftp.rb (site): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 04:20:11 +00:00
shugo
31c53aaa7d
shugo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-12-21 06:35:05 +00:00
matz
fbcc6dea0c
matz: 1.6.0 final (hopufully)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-12 05:37:38 +00:00
shugo
468df0e2d4
Added default blocksize to Net::FTP#getbinaryfile
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-17 03:14:22 +00:00
matz
82178a5529
matz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-15 09:04:32 +00:00
matz
c67a74570d
matz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-07-10 04:49:24 +00:00
shugo
4b4cad81e7
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-06-22 05:37:12 +00:00
matz
73d2362580
2000-03-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-06 06:32:08 +00:00
shugo
25be6ce9b5
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-08 06:03:42 +00:00