On 08/30/2012 10:50 PM, Andriansah wrote: > Dear bug tracker > > I have finish download file with command > wget -c --content-disposition 'link_download' > > > Accidentally I run that program again and surprisingly, it download the > file again > > I'm using latest version of wget 1.13.4 on ubuntu 12.04 > GNU Wget 1.13.4 built on linux-gnu. > > Usually on previous ubuntu 10.04 I will get notification that the file has > been download. > > Please fix this
-c doesn't prevent redownloading in the event that the server cannot support ranged requests, which is sometimes the case. If this is one of those cases, then this is not a bug. Well, if the server does manage to send file-size in advance, and we can determine we already have the full file, then we should probably terminate the connection, but if the server didn't send size either (or if the size was different), then wget is behaving correctly. So, you'd need to run wget with -d and send us the headers that wget sends and receives, to determine whether or not this is a bug. -mjc
