HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: problems to start httrack from command line
Author: John McDonald
Date: 09/26/2006 01:50
 
I'm having a related problem.  The environment is Windows Script Host under XP
Home Edition, running the commands via Shell.Run, though this seems to have
nothing directly to do with the problem.  (Cut-and-Paste same command into
console produces same error.)

After doing a clean run from interactive WinHTTrack I gather the command line
from the log and paste in into my script.  Then I remove the -%F portion, and
enclose the first parm-blob in "" to placate Windows.  All paths are absolute
and back-slashes are doubled (to preserve them in this environment; otherwise
they are treated as escape-characters as they pass through the shell).

The program loads, but immediately returns with "File Not Found!". There are
no entries or updates in any of the project-related directories or files,
including the debug file -- the error is occurring before processing begins.

I've tried without success using:
*  Remove or replace all parms containing % and #.
*  Dropped all filters to preclude problems with *.
*  Tried different combinations of "" around parms (-O for example).
*  Dropped parms one at a time, looking for a minimal set via defaults.

The only observation I can make is that by adding "http://" to the URL, it
causes the program to load and exit immediately without an error, though the
output files are again, untouched.

If you don't have a solution, perhaps you can suggest a work-around.  My needs
are very simple and very specific.  I generate lists of URLs and want to save
their HTML source, which I then parse for data-mining.  All of this is done
automatically, without my intervention. Until recently I was able to do this
using IE's "SaveAs" option, but MS has introduced a bug which makes this
impossible in some cases. (In truth they are phasing out SaveAs and
View>Source as a protection "enhancement.")

Any suggestions or examples would be appreciated.

Thanks,
John
 
Reply Create subthread


All articles

Subject Author Date
Re: problems to start httrack from command line

01/10/2006 17:21
Re: problems to start httrack from command line

09/26/2006 01:50




2

Created with FORUM 2.0.11