I'm having a problem using the -k flag to convert relative links.  It works 
fine if I don't specify an output file; it finds the file its looking for in 
./www.hostname.com/index.htm and converts it the way I want.  -But if I specify 
a different output file, the conversion process still looks for that default 
output file location rather than the one I specified.

The same behavior exists when using -O - to redirect to stdout.

Also, -p -O has the same results.  It tries to convert the default output file 
rather than the one specified.

I have gone through the man page and perused groups.google.com without much 
success.

Below is the debug output from an example, as well as my OS info.

THANKS!

Kyle




kyle.debian.525. wget -d -O kyle.tmp -k http://www.cnn.com
DEBUG output created by Wget 1.9.1 on linux-gnu.

--06:58:41--  http://www.cnn.com/
           => `kyle.tmp'
Resolving www.cnn.com... 64.236.24.20, 64.236.24.28, 64.236.16.20, ...
Caching www.cnn.com => 64.236.24.20 64.236.24.28 64.236.16.20 64.236.16.52 
64.236.16.84 64.236.16.116 64.236.24.4 64.236.24.12
Connecting to www.cnn.com[64.236.24.20]:80... connected.
Created socket 4.
Releasing 0x808d258 (new refcount 1).
---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.9.1
Host: www.cnn.com
Accept: */*
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... HTTP/1.1 200 OK
Date: Thu, 23 Jun 2005 10:52:50 GMT
Server: Apache
Content-Type: text/html
Last-Modified: Thu, 23 Jun 2005 10:52:44 GMT
Cache-Control: max-age=60, private
Vary: Accept-Encoding,User-Agent
Expires: Thu, 23 Jun 2005 10:53:44 GMT
Content-Length: 54247
Connection: close


Length: 54,247 [text/html]

100%[==================================================================================================================>]
 54,247       160.67K/s

Closing fd 4
06:58:42 (160.24 KB/s) - `kyle.tmp' saved [54247/54247]

Scanning index.html (from http://www.cnn.com/)
index.html: No such file or directory
Converting index.html... nothing to do.
Converted 1 files in 0.00 seconds.
kyle.debian.526.
kyle.debian.526. uname -a
Linux debian 2.4.25-1-386 #2 Wed Apr 14 19:38:08 EST 2004 i686 GNU/Linux
kyle.debian.527.

Reply via email to