bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] New option "--no-list-a"


From: Andrea Urbani
Subject: [Bug-wget] New option "--no-list-a"
Date: Sun, 25 Aug 2013 08:10:49 -0400

Good afternoon,
some systems (at least info-zip.org) have problems with the ftp command "LIST 
-a".
I.e. trying

wget --timestamping --no-directories --recursive --level=1 --accept 
"zip*.t*,unzip*.t*" --reject "*.zip,unzip55?.*,zip23?.*" --tries=5 
--waitretry=10 --timeout=15 --debug ftp://ftp.info-zip.org/pub/infozip/src/

you get

Created socket 4.
done. ==> LIST ...
--> LIST -a

150 List started.
done.

 [ <=> ] 0 --.-K/s in 0s

Closed fd 4
226 Transfer completed.
2013-08-25 06:40:42 (0.00 B/s) - â.listingâ saved [0]

that means no errors but also an empty list of files.
Within the attached patch I have added a new parameter, --no-list-a, that tells 
WGET just to use the "LIST" command.
If you try the new parameter

wget --timestamping --no-directories --recursive --level=1 --accept 
"zip*.t*,unzip*.t*" --reject "*.zip,unzip55?.*,zip23?.*" --tries=5 
--waitretry=10 --timeout=15 --debug --no-list-a 
ftp://ftp.info-zip.org/pub/infozip/src/

you will get

Created socket 4.
done. ==> LIST ... (Skipping "LIST -a")
--> LIST

150 List started.
done.

 [ <=> ] 1,855 --.-K/s in 0.06s

Closed fd 4
226 Transfer completed.
2013-08-25 06:45:08 (30.5 KB/s) - â.listingâ saved [1855]

PLAINFILE; perms 645; size: 1063171; month: Oct; day: 23; year: 1992 (no tm); 
calgarycorpus.zip
PLAINFILE; perms 645; size: 24979; month: Feb; day: 9; year: 2004 (no tm); 
check-4_3-src.zip
...
...


Please, make attention that inside the wget.texi I have changed some "itemx" 
into "item" as reported me by texinfo ver. 5.1

Bye
Andrea
matfanjol
http://matfanjol.users.sourceforge.net/

Attachment: no-list-a.patch
Description: Attachment: no-list-a.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]