Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

-F "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 
-%F "" 
-%l "en, en, *" 
"C:\\Users\\Iain\\Projects\\Council Tax Analysis\\Code\\HTTrack\\Council Tax Valuation List" 
-* \

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.

WinHTTrack saves the HTML files without a footer.

share|improve this question

I worked around the problem by removing the %F option from doit.log.

Now httrack --continue does continue to mirror my project.

After the mirroring session ended, the console output looked like this:

Mirror launched on Sat, 24 Nov 2012 19:22:10 by HTTrack Website Copier/3.46+htsswf+htsjava [XR&CO'2010]
mirroring -* +*search.php?SEARCHED=1* -*DISPLAY_MODE=FULL* with the wizard help..
Thanks for using HTTrack!

HTTrack has added a footer to the new files:

<!-- Mirrored from by HTTrack Website Copier/3.x [XR&CO'2010], Sat, 24 Nov 2012 19:52:28 GMT -->

I didn't really want the footer, but at least I can control HTTrack from the Command Prompt.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .