bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] bug wget -c --content-disposition


From: Micah Cowan
Subject: Re: [Bug-wget] bug wget -c --content-disposition
Date: Fri, 31 Aug 2012 11:43:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]