Re: BUG - .listing has sprung into existence
From: Sebastian "Doctor, it hurts when I do this." "Don't do that." Steven M. Schweda [EMAIL PROTECTED] 382 South Warwick Street(+1) 651-699-9818 Saint Paul MN 55105-2547
Extensions
With wget -A option it is possible to set file extensions that are only allowed to be saved. However, when used with -r option, there is a bug. As normal, if a file with the same name that is being downloaded already exists, a dot and a number gets appended to the file name. Next the -A option incorrectly compares the extension of the _local_ file name (which extension now is for example ".1" or ".2") so a file might get rejected even if the real extension matches the list. If done correctly, I think the file extension comparison should instead be done with the remote file name. Otherwise a local file like "sharon.jpeg.1" (with a real name of "sharon.jpeg") gets rejected, even if -A is "jpeg". This bug does not appear without using -r option. Wget version is 1.10.2.
Bug ?
Hello, At night I wanted to download new Fedora Core 6 DVD and wget downloaded it all, closed connection and then tried to retry download. See below: ~ $ wget ftp://ftp.uninett.no/pub/linux/Fedora/core/6/i386//iso/FC-6-i386-DVD.iso --00:06:42-- ftp://ftp.uninett.no/pub/linux/Fedora/core/6/i386//iso/FC-6-i386-DVD.iso => `FC-6-i386-DVD.iso.1' Resolving ftp.uninett.no... 158.36.2.10 Connecting to ftp.uninett.no|158.36.2.10|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done.==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/Fedora/core/6/i386//iso ... done. ==> PASV ... done.==> RETR FC-6-i386-DVD.iso ... done. Length: 3,525,195,776 (3.3G) (unauthoritative) 100%[===>] 3,525,195,776 211.55K/sETA 00:00 05:43:50 (170.27 KB/s) - Control connection closed. Retrying. --05:58:51-- ftp://ftp.uninett.no/pub/linux/Fedora/core/6/i386//iso/FC-6-i386-DVD.iso (try: 2) => `FC-6-i386-DVD.iso.1' Connecting to ftp.uninett.no|158.36.2.10|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done.==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/Fedora/core/6/i386//iso ... done. ==> SIZE FC-6-i386-DVD.iso ... done. ==> PASV ... done.==> REST 3525195776 ... done. ==> RETR FC-6-i386-DVD.iso ... done. Length: 3,525,195,776 (3.3G), 0 (0) remaining 100%[+++>] 4,486,656,960 328.54K/sETA 00:00 ~ $ wget -V GNU Wget 1.10.2 Copyright (C) 2005 Free Software Foundation, Inc. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Originally written by Hrvoje Niksic <[EMAIL PROTECTED]>. Running on 64bit Gentoo 2.6.17-gentoo-r7. Best Regards, Necach
BUG - .listing has sprung into existence
Hi, I am using Wget is 1.10.2 unter Windows XP. If I run (sensible data is replaced by ##): wget --dont-remove-listing -b -o %temp%\0.log -P %temp%\result\ ftp://##.##.##.##/result/*0.* Everything works fine. If I execute the same command again I get the following error: ##/result/.listing has sprung into existence. Retrying. and then ##/result/%2A0.%2A' saved [547] No matches on pattern `*0.*'. -> So Wget does not work, if there is already a ".listing" file in the output directory. This is a problem when downloading files from 50 sources at the same time into the same directory. Then there is not enough time to delete the .listing file (even if not using the "--dont-remove-listing" option) and the download fails. (Ps.: Maybe an Option to change the name of the .listing file would resolve the problem, so I can start every download with a different .listing file) Regards Sebastian
BUG - .listing has sprung into existence
Hi, I am using Wget is 1.10.2 unter Windows XP. If I run (sensible data is replaced by ##): wget --dont-remove-listing -b -o %temp%\0.log -P %temp%\result\ ftp://##.##.##.##/result/*0.* Everything works fine. If I execute the same command again I get the following error: ##/result/.listing has sprung into existence. Retrying. and then ##/result/%2A0.%2A' saved [547] No matches on pattern `*0.*'. -> So Wget does not work, if there is already a ".listing" file in the output directory. This is a problem when downloading files from 50 sources at the same time into the same directory. Then there is not enough time to delete the .listing file (even if not using the "--dont-remove-listing" option) and the download fails. (Ps.: Maybe an Option to change the name of the .listing file would resolve the problem, so I can start every download with a different .listing file) Regards Sebastian