~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to lib/net/ftp.rb

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2007-06-06 11:58:24 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070606115824-qzldkdwq3dvfpf84
Tags: 1.9.0+20070606-1
* new upstream snapshot. (2006-06-06)
* updated debian/generated-incs/* files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
340
340
          end
341
341
        end
342
342
        resp = sendcmd(cmd)
 
343
        # skip 2XX for some ftp servers
 
344
        resp = getresp if resp[0] == ?2
343
345
        if resp[0] != ?1
344
346
          raise FTPReplyError, resp
345
347
        end
352
354
          end
353
355
        end
354
356
        resp = sendcmd(cmd)
 
357
        # skip 2XX for some ftp servers
 
358
        resp = getresp if resp[0] == ?2
355
359
        if resp[0] != ?1
356
360
          raise FTPReplyError, resp
357
361
        end