HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: File names and query strings
Author: Xavier Roche
Date: 02/20/2005 09:14
 
> I know that HTTrack rewrites the filename using an md5 of
> the query string. But can't it use simply the query 
string?> page?param1=value1&param2=value2 as
> page.html@param=value&param2=value2

The file won't be useable anymore by the Windows explorer 
(bad extension)

> illegal filename chars with legal ones, it preserves the 
url
> and it make it easier to parse them. 

Note that the original query string's URL is preserved.

> How can I make HHTrack name files with the query strings? 
Or
> if I can't, is it possible to implement it? Seems to be 
very
> simple to do it.

There is no simple way - the simplest one is to make a 
small plugin (.dll or .so) that will handle file renaming - 
see callbacks-example-filename.c and callbacks-example-
filename2.c in the libtest/ directory of the source archive.

 
Reply Create subthread


All articles

Subject Author Date
File names and query strings

02/17/2005 12:23
Re: File names and query strings

02/20/2005 09:14
Re: File names and query strings

02/22/2005 14:51
Re: File names and query strings

01/17/2007 20:59
Re: File names and query strings

07/10/2007 07:49
Re: File names and query strings

01/17/2020 01:21




d

Created with FORUM 2.0.11