HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Saving files with file extension in file name
Author: William Roeder
Date: 02/25/2011 15:18
 
> The -N option (custom defined build structure)
> allows one to specify the file type (using %t) in
> the file name that is saved to disk. This is the
> file *type* (e.g. .html) and not the file
> *extension* (e.g. .php). Is there any way to include
> the original file extension in the file name? 
You CAN NOT get php, cgi, sql, or any other server side code from the public
side of a web server. Only the HTML output and referenced files.
So the extension is correct, it's html not php.
IIRC, you add an assume php=text/html the extension is not changed.
 
Reply Create subthread


All articles

Subject Author Date
Saving files with file extension in file name

02/25/2011 14:08
Re: Saving files with file extension in file name

02/25/2011 15:18
Re: Saving files with file extension in file name

02/25/2011 15:37




1

Created with FORUM 2.0.11