HTTrack Website Copier
Free software offline browser - FORUM
Subject: Force download of mirrored doc files
Author: stefano federici
Date: 12/03/2008 20:49
 
I fully mirrored a dynamic website. Even doc files referenced by the following
javascript are correctly downloaded:

javascript:download_attach('/public/images/pagine/656/allegati/TAD voti
08_06_04.doc')

Now, when I click on the mirror link the file is "not found". Indeed, the
download_attach function uses a servlet to serve the file:

function download_attach(attach){
location="/servlets/download?id="+attach;
}

Is there a way to put something in my local servlets folder so that even
clicking on the mirror link will cause the locally downloaded copy of the file
to "pop up" for download (that is, to save it where the users of the mirror
copy want)?. I wouldn't like to change the body of the download_attach
function as it is contained in several thousands of files. But, if this is the
only option, I will. 

Thanks in advance for your help

Stefano
 
Reply


All articles

Subject Author Date
Force download of mirrored doc files

12/03/2008 20:49
Re: Force download of mirrored doc files

12/03/2008 21:17
Re: Force download of mirrored doc files

12/04/2008 18:08




a

Created with FORUM 2.0.11