That worked perfectly. Thank you for your help. I had tried replacing
one of the slashes with %2F, but didn't think of using two, in
combination with the existing slash after the 'ccp3'.

Thanks, again.

-Kevin

-----Original Message-----
From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 5:17 PM
To: Zembower, Kevin
Cc: wget@sunsite.dk
Subject: Re: Problem with double slashes in URI

"Zembower, Kevin" <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED]:/tmp$ wget --timestamping --no-host-directories --glob=on
> --recursive --cut-dirs=4
> 'ftp://xxx:[EMAIL PROTECTED]/%2Fccp1/data/shared/news/motd/qotd.txt'

If you need double slash, you must spell it explicitly:

    wget [...]
ftp://xxx:[EMAIL PROTECTED]/%2F%2Fccp1/data/shared/news/motd/qotd.txt

Substituting ccp3 for something that I can connect to:

$ wget -S
ftp://gnjilux.srk.fer.hr/%2F%2Fccp1/data/shared/news/motd/qotd.txt
...
--> CWD //ccp1/data/shared/news/motd

That's with Wget 1.10.2  It might not work on versions before 1.10.

Reply via email to