[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] how to workaround corrupted --continue files?
From: |
Konrad Miller |
Subject: |
Re: [Bug-wget] how to workaround corrupted --continue files? |
Date: |
Fri, 31 Jul 2009 09:52:16 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.18 [SVN] |
Hi,
> I have scripts which rely on wget to handle knowing whether a given
file
> needs to be downloaded or not. Normally this works quite well, but in
> some circumstances (as I've learned the hard way):
The http Protocol doesn't support such a thing. The continue-flag (-c)
depends on the
file-size only as you have implicitly mentioned. Rsync relies on
another rsync process on the other
side sending a "rolling checksum" over the contents of the file. Http
doesnt do such a thing.
The only thing I can recommend at this point is using rsync or not to
use the -c flag leading
to a download of the whole thing every time.
Cheers,
Konrad