From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Description of problem: The listing of the downloaded directory in the .listing file which is created by wget when visting ftp sites and which remains if the --no-remove-listing or --miror option is used grows after each download. Wget is appending to the .listing file and not re-creating it as it did in previous versions. Version is wget-1.10.2-0.fc4.i386.rpm. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Run wget with the --no-remove-listing or --mirror option on the same url twice and the .listing file will contain duplicate entries of the name(s) of the file(s) downloaded. Actual Results: On the second visting the directory listing was appended to the previous .listing file. Expected Results: The .listing file should be a single listing of the files in the directory of the url visited. Additional info:
*** Bug 179963 has been marked as a duplicate of this bug. ***
*** Bug 179964 has been marked as a duplicate of this bug. ***
*** Bug 179965 has been marked as a duplicate of this bug. ***
*** Bug 179966 has been marked as a duplicate of this bug. ***
*** Bug 179967 has been marked as a duplicate of this bug. ***
Can you please retry with the latest wget packages which should show up on your Fedora mirror tomorrow ? They contain a fix for bug 186195 which might solve this one as well. Please reopen if the problem still exists.
This problem persists. wget-1.10.2-8.fc6 dated 2007-01-10 did not fix it I have just installed fedora 7 and the problem is the same (wget-1.10.2-15.fc7) To get things to work I rebuild wget-1.9.1-22 (In reply to comment #0) > From Bugzilla Helper: > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) > > Description of problem: > The listing of the downloaded directory in the .listing file which is created by wget when visting ftp sites and which remains if the --no-remove-listing or --miror option is used grows after each download. Wget is appending to the .listing file and not re-creating it as it did in previous versions. Version is wget-1.10.2-0.fc4.i386.rpm. > > Version-Release number of selected component (if applicable): > > > How reproducible: > Always > > Steps to Reproduce: > 1.Run wget with the --no-remove-listing or --mirror option on the same url twice and the .listing file will contain duplicate entries of the name(s) of the file(s) downloaded. > > > Actual Results: On the second visting the directory listing was appended to the previous .listing file. > > Expected Results: The .listing file should be a single listing of the files in the directory of the url visited. > > Additional info:
ls -l .listing after first attempt of wget --no-remove-listing ftp://ftp.redhat.com/ : -rw-rw-r-- 1 karsten karsten 61 18. Jun 16:13 .listing ls -l .listing after second attempt of wget --no-remove-listing ftp://ftp.redhat.com/ : -rw-rw-r-- 1 karsten karsten 61 18. Jun 16:14 .listing >rpm -q wget wget-1.10.2-15.fc7 This doesn't look like wget is attaching to .listing, it is replacing it with each run. The contents looks sane, too. Please retry and make sure you're really using the binary from wget-1.10.2-15.fc7
I am still getting the problem The test below installs wget-1.91.1-22 and the .listing file is replaced with each run It then installs wget-1.10.2-15.fc7 and the .listing file grows [root@polux i386]# . ./test ++ rpm -Uvh --force /usr/src/redhat/RPMS/x86_64/wget-1.9.1-22.x86_64.rpm Preparing... ########################################### [100%] 1:wget ########################################### [100%] ++ rpm -q wget wget-1.9.1-22 ++ rm -i -f .listing ++ wget -m -nd -q -c ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/releases/7/Live/i386/ ++ ls --color=tty -l .listing -rw-r--r-- 1 root root 231 2007-06-19 05:19 .listing ++ wget -m -nd -q -c ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/releases/7/Live/i386/ ++ ls --color=tty -l .listing -rw------- 1 root root 231 2007-06-19 05:19 .listing ++ rpm -Uvh --force ../../Everything/x86_64/os/Fedora/wget-1.10.2-15.fc7.x86_64.rpm Preparing... ########################################### [100%] 1:wget ########################################### [100%] ++ rpm -q wget wget-1.10.2-15.fc7 ++ rm -i -f .listing ++ wget -m -nd -q -c ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/releases/7/Live/i386/ ++ ls --color=tty -l .listing -rw-r--r-- 1 root root 231 2007-06-19 05:19 .listing ++ wget -m -nd -q -c ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/releases/7/Live/i386/ ++ ls --color=tty -l .listing -rw-r--r-- 1 root root 462 2007-06-19 05:19 .listing ++ wget -m -nd -q -c ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/releases/7/Live/i386/ ++ ls --color=tty -l .listing -rw-r--r-- 1 root root 693 2007-06-19 05:19 .listing ++ rpm -Uvh --oldpackage /usr/src/redhat/RPMS/x86_64/wget-1.9.1-22.x86_64.rpm Preparing... ########################################### [100%] 1:wget ########################################### [100%] ++ set +x
Is this bug still present in Fedora 8?
Problem is only reproducable with -c, and it still exists, even with F9's 1.11.1. Reported upstream...
please try wget-1.11.2 which will be in rawhide soon. From the NEWS file: ** Successive invocations of Wget on FTP URLS, with --no-remove-listing and --continue, was causing Wget to append, rather than replace, information in the .listing file, and thereby download the same files multiple times. This has been fixed in 1.11.2.