summaryrefslogtreecommitdiff
path: root/lib/net/ftp.rb
AgeCommit message (Collapse)Author
2011-05-25 * lib/net/ftp.rb: Add :nodoc: for private methods.drbrain
[Ruby 1.9 - Bug #4710] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-19* lib: revert r31635-r31638 and untabify with expand(1).nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 * lib: Convert tabs to spaces for ruby files perdrbrain
http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style Patch by Steve Klabnik [Ruby 1.9 - Bug #4730] Patch by Jason Dew [Ruby 1.9 - Feature #4718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 * lib/net/ftp.rb (module Net):drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-08* lib/*.rb: Remove unused variable warnings.marcandre
Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06* lib/net/ftp.rb (initialize): set @sock to a NullSocket instance toshugo
raise FTPConnectionError when not connected. [ruby-dev:40258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-19* lib/net/ftp.rb (putbinaryfile): use APPE for resume.shugo
Thanks, Tomoyuki Chikanaga. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-28* lib/net/ftp.rb (Net::FTP#initialize): sets @binary to true.shugo
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27* lib/net/ftp.rb (Net::FTP#initialize): @sock = nil.naruse
* lib/net/ftp.rb (Net::FTP#binary=): send command only when socket is open. [ruby-dev:39548] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27* lib/net/ftp.rb (getbinaryfile, list): call to_s to convertshugo
a Pathname instance into a string. [ruby-core:26237] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-12* lib/net/ftp.rb (login): use "anonymous@" as a default password.shugo
[ruby-dev:39451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-12* lib/net/ftp.rb (retrlines): added a new block parameter.shugo
* lib/net/ftp.rb (gettextfile): preserve missing end-of-line at end of files. [ruby-core:24590] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18* lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.matz
a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in [ruby-core:19982]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-07* lib/net/ftp.rb (login): raise FTPReplyError if passwd or acctshugo
is not supplied. fixed [ruby-core:18058]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-05* lib/net/ftp.rb (chdir): handle 5xx errors correctly.shugo
fixed [ruby-core:18057]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-04* lib/net/ftp.rb (Net::FTP#sendport): use divmod. [ruby-core:17557]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-30* lib/net/ftp.rb (Net::FTP#transfercmd): skip 2XXshugo
responses for some FTP servers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-06* lib/net/ftp.rb: moved fixes for EPIPE to the correctshugo
place. [ruby-core:10204] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-06* lib/net/ftp.rb: check the control connection on EPIPE.shugo
Thanks, Simon Williams. [ruby-core:9547] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-15* lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, andshugo
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
2004-06-20* lib/net/ftp.rb (binary=): send TYPE commands only once.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.shugo
Thanks, Rutger Nijlunsing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 * lib/net/ftp.rb: ported documentation improvement from 1.8 branchgsinclair
* 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-04-18* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,nobu
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
2003-08-21Small documentation update, including source attribution.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-21Small changes to documentation; mainly hiding things from RDoc.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30* lib/net/ftp.rb (return_code): obsolete.shugo
* 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* lib/net/ftp.rb (get): fix wrong argument name. Thanks to Williamshugo
Webber. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29Small documentation correction.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19* string.c (rb_str_match2): add warning to "~string".matz
[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-06-13* lib/net/ftp.rb (storebinary): seek correctly. Thanks, William Webber.shugo
* 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-01-31Added RDoc comments. See comments at EOF for remaining issues.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-18* lib/net/ftp.rb (set_socket): new method.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11* string.c (rb_str_slice_bang): if there's no correspondingmatz
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-03* lib/net/ftp.rb (get): new method.shugo
* 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* lib/net/ftp.rb (getbinaryfile): the second argument (localfile)shugo
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* lib/net/ftp.rb: use &block and yield for speed.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11* lib/net/ftp.rb (noop): new method.shugo
* lib/net/ftp.rb (site): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-12-21shugoshugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-12matz: 1.6.0 final (hopufully)matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-17Added default blocksize to Net::FTP#getbinaryfileshugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-15matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-07-10matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-06-22*** empty log message ***shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-062000-03-06matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-08*** empty log message ***shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e