On Mon, Feb 26, 2001 at 12:46:51AM -0800, Jamie Zawinski wrote:

> 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.

I don't think so. The double slash in front of the path part of the URL
starts the path in the ftp server's root, while the single slash starts
it in the default directory you log into when doing anonymous ftp. The
default directory isn't the server's root in this case, but "pub".

So

wget ftp://ftp.redhat.com/redhat/updates/7.0/i386/apache-devel-1.3.14-3.i386.rpm

works as intended, starting the path relative to the default directory.
Netscape can't retrieve this URL, though... which I believe is wrong.

Hanno

Reply via email to