View Full Version : wget -c overwrites existing finished content

13th May 2007, 10:54 PM
i was downloading a series of podcasts using the latest version from yum "1.10.2" of wget with the "-c" continue command. When i killed the shell that contained the running wget and loaded a new one, putting in the same command "wget - c file1 file2 file3 file4..." wget started to download from file1 again even though 1-3 were already done. Why is this so?

13th May 2007, 11:16 PM

wget -nc file1 file2 file3 file4

If a file is downloaded more than once in the same directory,
Wgetís behavior depends on a few options, including -nc. In cer‐
tain cases, the local file will be clobbered, or overwritten, upon
repeated download. In other cases it will be preserved.

14th May 2007, 12:00 AM
this does pick up the fact that its already downloaded but then doesnt move onto the next file but instead gives me a message of "Aborted".

14th May 2007, 12:15 AM
Ok try this

wget -nc -c file1 file2 file3 file4

14th May 2007, 01:31 AM
same message again