HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: command line leave files on server?
Author: Xavier Roche
Date: 06/11/2005 15:56
 
> How would you go about httracking the files to a separate
> folder on the webserver, ie /staticpages without needing
> to download and re-upload manually?
Using the httrack in a cron job, directly connecting to localhost, using
aggressive settings (you don't care about bandwidth on localhost):

SITEURL=http://localhost/mysite/
httrack --update --quiet \
	"${SITEURL}" \
	--disable-security-limits \
	--max-rate=1000000 \
	--connection-per-second=0 \
	--sockets=4 \
	-O /home/www/static,/home/www/cache

All links will be rebuild relatively, so you don't have to care about the real
location after the mirror (you can move or reference the mirror wherever you
want to)


 
Reply Create subthread


All articles

Subject Author Date
command line leave files on server?

06/10/2005 17:31
Re: command line leave files on server?

06/11/2005 15:56




2

Created with FORUM 2.0.11