HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: index option in renaming files links?
Author: Xavier Roche
Date: 04/29/2003 21:21
> Problem is when updating the site. If one child file as 
> added and the parent one modified from the main site i get
> this result:
> ..
> that means each file stored on disk before, is 
> renamed and consequently winhttrack has to regrab the all
> site instead of just updating the parent one and adding 
> last child.

No, no. Update and local naming is totally independent: the 
cache is able to deliver up-to-date data even if httrack 
has to rename the files on the local filesystem (the cache 
is address+URI based, and httrack dynamically matched 
address+URI, and local filename). If pages are re-
downloaded instead of being updated, this is a SERVER 
issue: the server is not able to "understand" update 
requests (Etag and/or Date)

If you want to keep similar names even when updating, use 
something like:
(%q is a hash value based on query string)

(the -2, -3.. are generated on-the-fly by the naming system 
when a collision is detected ; that is, when the default 
address+URI transformation to a local filename gives an 
existing name with a different address+URI)

> that is to say, there is no need to redownload old files 
> process is very quick now??
Again, httrack should only issue an update request, and the 
server should only respond by sending an "up-to-date" 
message reply.

(You can check that using Set Options / Experts Only / 
Activate debug mode, and check the hts-ioinfo.txt file 
which tracks all HTTP client requests and server responses)
Reply Create subthread

All articles

Subject Author Date
index option in renaming files links?

04/29/2003 12:20
Re: index option in renaming files links?

04/29/2003 21:21
Re: index option in renaming files links?

04/30/2003 11:28


Created with FORUM 2.0.11