Red Hat Bugzilla – Bug 171188
wget -c broken
Last modified: 2007-11-30 17:11:15 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 Fedora/1.7.12-1.5.1
Description of problem:
wget -c seems broken:
a) Corrupts .listing files.
b) Traverses subdirs multiple times.
Sorry for the imprecise description, cf. below for details ...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Mirror an arbitrary ftp-directory, e.g.:
wget --cut-dirs=6 -m -nH \
2. Have a look into the corresponding .listing file,
3. Issue the same command as under 1., but now with "-c" added:
wget --cut-dirs=6 -m -nH -c \
Actual Results: a) .listing is incorrect (Contains duplicated entries).
b) wget -c bogusly recurses the directory multiple times, instead of one.
Expected Results: a) Correct .listing
b) Wget traversing directories once.
This had worked with former version of wget.
This issue seems to have appeared with wget-1.10.1-0.fc4.
Former versions did not expose this bug.
Wget-1.10 to me is completely nonfunctional and should be withdrawn/replaced.
*** Bug 171189 has been marked as a duplicate of this bug. ***
wget-1.10.2-6 still appends to .listing instead of rewriting it, but resumed
downloads seem to work now.