Dan Jacobson <[EMAIL PROTECTED]> writes:

> As we wwwoffle users all might know, wget has
>   -c,  --continue               resume getting a partially-downloaded file.
> Quite handy when a large download got interrupted.  However there are
> some caveats when using it thru wwwoffle.  It would be neat if the
> right combination of wget switches could be known for doing this
> without causing wwwoffle to get the whole file again, and without
> resorting to -Y off, bypassing wwwoffle.

There are no combination of options that will cause WWWOFFLE not to
get the whole file again.  WWWOFFLE does not support partial
downloads, I don't see that it is a particularly important feature.
It is also not a very simple one to implement due to the number of
possible conditions that need to be handled (file changed on server,
server doesn't handle partials, file in cache incomplete etc.)


> Another case is where we get the partially downloaded (larva, pupa,
> whatever) file out of the wwwoffle cache by hand and rename it to wget
> expects, and continue with wget -Y off -c.  Wget doesn't know that
> there is a HTTP header swelling the file, so that must first be
> chopped off.  There are other considerations too probably.

Don't copy the file from the cache by hand if it causes a problem.
Use the correct tools for the job:

wwwoffle -o URL

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html

Reply via email to