How to continue an HTTrack mirroring session from the command line?
Posted
by
isme
on Super User
See other posts from Super User
or by isme
Published on 2012-11-24T16:57:47Z
Indexed on
2012/11/24
17:06 UTC
Read the original article
Hit count: 212
httrack
I want to drive my mirroring project using the Command Prompt instead of the WinHTTrack interface so that I can script and schedule the mirroring session more easily.
The output of httrack --help
gives a simple command for continuing an interrupted mirroring session:
example: httrack --continue
continues a mirror in the current folder
When I try httrack --continue
in my HTTrack project folder, all I get is output like this:
Example: -%F "<!-- Mirrored from %s by HTTrack Website Copier/3.x [XR&CO'2010], %s -->"
* Option %F needs to be followed by a blank space, and a footer string
With each parameter on a new line for readability, the first line of my doit.log
file looks like this:
-qiC1%P0s0b0u1j0%s%u0N0%I0p1DaK0c1T30H0%kf2E1800A25000%c0.1%f#f
-F "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
-%F ""
-%l "en, en, *"
http://saa.gov.uk/search.php?SEARCHED=1&SEARCH_TABLE=council_tax&SEARCH_TERM=City+of+Edinburgh&DISPLAY_COUNT=100
-O1
"C:\\Users\\Iain\\Projects\\Council Tax Analysis\\Code\\HTTrack\\Council Tax Valuation List"
-* \
+*search.php?SEARCHED=1*
-*DISPLAY_MODE=FULL*
The parameter %F ""
should tell HTTrack to use an empty footer.
I used the WinHTTrack interface to create the project and start the mirroring session. I can interrupt and continue the mirroring session using the interface.
The HTML files saved by WinHTTrack have no footer.
© Super User or respective owner