HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: form based
Author: William Roeder
Date: 03/01/2008 18:51
 
> This is a follow-up to my question.  I've figured
> out how to catchurl the form data sent when I select
> one of the two files for download and click on the
> image that starts the download.  By using catchurl,
> I can store that forma data as hts-post0.  I can
> then send that data back and get one of the two
> files by starting at the some.place.com/index.php
> file and specifying the form data
> ?>postfile:hts-post0
> 
> What I'm not sure about is whether I can start on
> the page that has the image and get httrack to
> select one or both of the two files and download the
> corresponding file.

Once you've captured the cookies you should be able to start on any page you
like.

> As a side note, I'm having trouble with naming.  It
> gets the file as an index989ab.html and I have to
> manually rename it to the correct name and
> extension.  I'm using v 3.33 and I've turned Check
> Document Type off, but it still changes the
> extension and name.

You can't download some.place.com/index.php from a server. php, asp, cgi etc
are server side files.  All you can get from a server is html.  Thus the
extention rename. If you rename them then windows won't know how to open the
file and links from one page to another won't work anymore.

site/index.php?ID=1 and site/index.php?ID=2 usually are two separate distinct
pages so httrack renames them indexHHHH.htm where HHHH is a unique hex code.
 
Reply Create subthread


All articles

Subject Author Date
form based

03/01/2008 03:55
Re: form based

03/01/2008 16:54
Re: form based

03/01/2008 18:51
Re: form based

03/01/2008 21:24
Re: form based

07/25/2010 16:34




0

Created with FORUM 2.0.11