HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: File names and query strings
Author: Natan
Date: 02/22/2005 14:51
 
> > 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)

Well, that is simple to fix: put the extension in the end.
Enterprise explorer uses an internal server, but that
doesn't mean that it's impossible to solve.

Using page.html-param=value&param2=value2.html or something
like that would solve the problem.


> 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.

I can take a look, but there is a simpler way: in that
dialog that we can configure the filename format, add a new
variable (like %q = formatted query string). There is no big
deal in this, just get the old query string, replace one or
two illegal filename characters and it's done.

I think this would be a great feature.
 
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




3

Created with FORUM 2.0.11