cvs commit: src/lib/libfetch fetch.3 ftp.c

Nate Lawson nate at root.org
Tue May 8 20:04:10 UTC 2007


Dag-Erling Smørgrav wrote:
> des at des.no (Dag-Erling Smørgrav) writes:
>> Still on-going.  I forgot to add BATCH=YES to the make command line
>> and had to start over.  I expect it will take several more days to run
>> to completion.
> 
> Here are the results.  I haven't had time to look through them yet,
> but judging from the parts I did look at, I don't expect any nasty
> surprises.
> 
> http://people.freebsd.org/~des/fetch.20070505.140302.log.bz2
> 
> DES

Looking for cwd errors not related to a missing directory:
$ grep -A1 '>>> CWD' fetch.20070505.140302.log | grep '<<<' | grep -v '
250' | egrep -v 'No such'\|'does not exist' | wc -l
     402

Except for "permission denied", all the other errors are this form:
<<< 550 Failed to change directory.

I manually reviewed those and they only occurred because the final dir
did not exist.  I'm certain of this since after the initial all-in-one
CWD fails, some of the partial CWDs succeed but the final one does not
exist.

BTW, is there any reason to redo the "MODE S" and "TYPE I" commands
after MDTM?  Sample output below:

<<< 220 ProFTPD 1.3.0a Server (BELNET FTPD Server) [193.190.198.20]
>>> USER anonymous
<<< 331 Anonymous login ok, send your complete email address as your
password.
>>> PASS des at varnish3.p.linpro.no
<<< 230 Anonymous access granted, restrictions apply.
>>> PWD
<<< 257 "/" is current directory.
>>> CWD mirror/ftp.gnome.org/sources/gail/1.18
<<< 250 CWD command successful
>>> MODE S
<<< 200 Mode set to S.
>>> TYPE I
<<< 200 Type set to I
>>> SIZE gail-1.18.0.tar.bz2
<<< 213 610187
size: [610187]
>>> MDTM gail-1.18.0.tar.bz2
<<< 213 20070312121247
last modified: [2007-03-12 12:12:47]
>>> MODE S
<<< 200 Mode set to S.
>>> TYPE I
<<< 200 Type set to I
setting passive mode
>>> PASV
<<< 227 Entering Passive Mode (193,190,198,20,206,114).
opening data connection
initiating transfer
>>> RETR gail-1.18.0.tar.bz2

-- 
Nate


More information about the cvs-src mailing list