Hrvoje Niksic <[EMAIL PROTECTED]> writes:
> Jamie Zawinski <[EMAIL PROTECTED]> writes:
> > Netscape can retrieve this URL:
> > 
> >   ftp://ftp.redhat.com/pub/redhat/updates/7.0/i386/apache-devel-1.3.14-3.i386.rpm
> > 
> > wget cannot.   wget wants it to be:
> > 
> >   ftp://ftp.redhat.com//pub/redhat/updates/7.0/i386/apache-devel-1.3.14-3.i386.rpm
> > 
> > I believe the Netscape behavior is right and the wget behavior is
> > wrong.
> 
> Wget behavior is based on what was specified in rfc1738 at the time I
> was writing the code.  rfc1738 does require %2F to be used instead of
> the slash immediately preceding "pub", but I considered the
> distinction to be purely academic and made Wget accept both.  (I have
> yet to see a purpose for CWD-ing into an empty directory.)

By the way, neither "//" nor "/%2F" works in 1.7-dev.  Perhaps we broke that
when we fixed the problem where recursive FTP 'wget's assumed that logging
in always put you in '/'?

---------------------------------------------------------------
Dan Harkless            | To help prevent SPAM contamination,
GNU Wget co-maintainer  | please do not mention this email
http://sunsite.dk/wget/ | address in Usenet posts -- thank you.

Reply via email to