Are you sure it is not the shell that is getting rid of multiple
slashes? 
is the argument place in single quotes?



-----Original Message-----
From: Victor Nazarov [mailto:[EMAIL PROTECTED] 
Sent: 13 July 2004 14:01
To: [EMAIL PROTECTED]
Subject: Multiple slashes compression


I've been using wget-1.9.1 and noticed that I'm unable to dounload some 
files from one server. I've tried lots of ways round modifing the HTTP 
request and using the -d option. And finally I've found the resone of 
failure. Wget compress multiple slashes in the url path into one. After 
this path modification http server tells that 302 Found. But with the 
original path everything is ok.
I think the problem is that wget simplify the path and use it in the 
HTTP request, and the solution will be to always use the original path 
for requests and to use simplified path for local operations 
(directories creation). This requires some reengeniering to be 
implemented. But please do it.

--
vir

Reply via email to