Using 1.10.2

To reproduce:
1) Download a video from Google Video:
$ wget -O "Test.resume_me.avi"
"http://vp05.video.l.google.com/videodownload?version=0&secureurl=twAAAKKXmJe_gUGC30JVHiQCrmBhoU7JEoYkn1zkPRI9Vm4nYjXB_Lconoy-Fwa2rg40mCn-w3frP3K4KTW7vxmD2bubcJainv-i4vxBqUS_k2VtLtsJI04UFSYcVQVESuIqHZfGuToqj3r3HkfzbKYgoRSzAEI6xUl3-jQKsKAgpQzwoaRbExjhOU2kup9A0VxOlC_KdqG2QWMejRjLZZEfCDb4ETaWEBT0qIGq3W_GS6sKcx6dKXYGMuiGbd4Wf9v3Mg&sigh=ongRDut1aAA_QP6pwGRnwIWO2k0&begin=0&len=1221999&docid=9076288729387457440&rdc=1";
2) Cancel the download after a few seconds.
3) Re-download, using the "-c" flag.

Result:
The old file will be silently overwritten.

Wget should refuse downloading the file.

The docs specifically state:
Beginning with Wget 1.7, if you use -c on a non-empty file, and it turns
out that the server does not support continued downloading, Wget will
refuse to start the download from scratch, which would effectively ruin
existing contents.  If you really want the download to start from
scratch, remove the file.

Reply via email to