Hi,
I wrote once already. I was using wget 1.5.3, which
comes with red hat 7.1. I figured the reason no one responded is that it
wasn't the latest version. So I upgraded to 1.7. I am still getting
the exact same problem described below:
I am writing a site
copier program for a free web hosting company. In testing the -k option, I
find that it only converts absolute links to relative links if it has already
downloaded the page in question through a relative link. BUT if there is
only one link to a certain page, and that link is absolute, the link won't be
converted and the document won't get downloaded. Is this accurate?
Has it been fixed in a later version? (I'm running 1.7).
So, for example, if the url passed to wget is www.jake.com, and there is an absolute link to http://www.jake.com/FAQ.html, and on the
site there is also a relative link to FAQ.html, then this absolute link will get
changed. BUT if there is an absolute link to http://www.jake.com/products.html
and NO relative links anywhere, this page doesn't get downloaded and the link is
not changed. The behavior I was expecting was for the link to
change.
Here is the command
I am running. Is there a problem with my ordering of command line
options?
/usr/bin/wget
-o /path/wget_log.txt -k -r -t3 -nc -Q20m -nH
--cut-dirs=$dirs -X cgi-bin,cgi -R .ace,.rar,.mp3 -np
$url
Thanks in
anticipation of your help.
Mark
