Hi Hrvoje!

> > Can I use -P (Directory prefix) to save files in a user-determinded
> > folder on another drive under Windows?
> 
> You should be able to do that.  Try `-P C:/temp/'.  Wget doesn't know
> anything about windows backslashes, so maybe that's what made it fail.
> 
The problem with / and \ was already solved, thx.
The syntax folder/ is incorrect for wget on windows, it will try to save
to 
folder//url :(
Here is what I got with
wget -nc -x -P c:/temp -r -l0 -p -np -t10 -d -o minusp.log
http://www.jensroesner.de

###################
DEBUG output created by Wget 1.8.1-pre3 on Windows.

Enqueuing http://www.jensroesner.de/ at depth 0
Queue count 1, maxcount 1.
Dequeuing http://www.jensroesner.de/ at depth 0
Queue count 0, maxcount 1.
--02:23:49--  http://www.jensroesner.de/
           => `c:/temp/www.jensroesner.de/index.html'
Resolving www.jensroesner.de... done.
Caching www.jensroesner.de => 212.227.109.232
Connecting to www.jensroesner.de[212.227.109.232]:80... connected.
Created socket 72.
Releasing 009A0730 (new refcount 1).
---request begin---
GET / HTTP/1.0

User-Agent: Wget/1.8.1-pre3

Host: www.jensroesner.de

Accept: */*

Connection: Keep-Alive



---request end---
HTTP request sent, awaiting response... HTTP/1.1 200 OK
Date: Mon, 14 Jan 2002 13:05:44 GMT
Age: 801
Server: Apache/1.3.22 (Unix)
Last-Modified: Sun, 28 Oct 2001 01:38:38 GMT
Accept-Ranges: bytes
Content-Type: text/html
Content-Length: 5371
Etag: "7f088c-14fb-3bdb619e"
Via: 1.1 NetCache (NetCache 4.1R5D2)


Length: 5,371 [text/html]
c:/temp/www.jensroesner.de: File
existsc:/temp/www.jensroesner.de/index.html: No such file or directory
Closing fd 72

Cannot write to `c:/temp/www.jensroesner.de/index.html' (No such file or
directory).

FINISHED --02:24:00--
Downloaded: 0 bytes in 0 files
###################

Of course I have a c:/temp or c:\temp dir, 
but even if not, wget should create one, right?

CU
Jens

Reply via email to