HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: preventing 404 overwrites on update
Author: johng
Date: 03/25/2002 23:04
 
> No - the engine always tries to match exactly the 
> remote site, and will erase local files if remote 
ones 
> were erased - or missing. You can activate the 'do 
not 
> erase local files' option, but this won't work if 
the 
> file is still linked, and missing remotely (or in 
> error). I may add an option in the future however, 
> which will try to avoid that.. but this won't be 
quite 
> easy to implement (without breaking th cache)
> 

OK, i've tried to follow the code in this area but is 
isn't easy  :)  
...can you tell me: 
Is it guarenteed that the "transfer-status" callback 
(wrapper) is ALWAYS called BEFORE the original file is 
overwritten with the 404 message file? If i can rely 
on this behaviour, i can make a 'back-up' of any files 
with a 404 status before they are overwritten. So, can 
i rely on that?
many thanks,
john
 
Reply Create subthread


All articles

Subject Author Date
preventing 404 overwrites on update

03/25/2002 21:35
Re: preventing 404 overwrites on update

03/25/2002 22:18
Re: preventing 404 overwrites on update

03/25/2002 23:04
Re: preventing 404 overwrites on update

03/25/2002 23:17
Re: preventing 404 overwrites on update

03/26/2002 00:09




d

Created with FORUM 2.0.11