Re: wget ftp url syntax is wrong

2001-02-28 Thread Hrvoje Niksic
"Dan Harkless" [EMAIL PROTECTED] writes: 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 '/'? I believe some of Jan's changes broke it. Also, the standard idiom:

Re: wget ftp url syntax is wrong

2001-02-28 Thread Jan Prikryl
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 '/'? I believe some of Jan's changes broke it. Also, the standard idiom: wget -r

Re: wget ftp url syntax is wrong

2001-02-27 Thread Dan Harkless
Jan Prikryl [EMAIL PROTECTED] writes: Quoting Jamie Zawinski ([EMAIL PROTECTED]): However, that said, I still think wget should do what Netscape does, because that's what everyone expects. The concept of a "default directory" in a URL is silly. Well, silly or not, the concept is

Re: wget ftp url syntax is wrong

2001-02-27 Thread Jamie Zawinski
Dan Harkless wrote: Well, silly or not, the concept is already there, so I don't think it makes sense to remove the ability to access RFC-valid URLs in order to imitate Netscape or Internet Explorer. I guess that depends on whether you think it's more important to do the most useful thing,

Re: wget ftp url syntax is wrong

2001-02-27 Thread Dan Harkless
Jamie Zawinski [EMAIL PROTECTED] writes: Dan Harkless wrote: Well, silly or not, the concept is already there, so I don't think it makes sense to remove the ability to access RFC-valid URLs in order to imitate Netscape or Internet Explorer. I guess that depends on whether you think

Re: wget ftp url syntax is wrong

2001-02-27 Thread Dan Harkless
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:

Re: wget ftp url syntax is wrong

2001-02-27 Thread Jamie Zawinski
Dan Harkless wrote: It's my experience that very few anonymous FTP servers put you in a directory other than '/' (it certainly may be a chroot()ed '/'), ftp.redhat.com puts you in /pub by default (as user "anonymous".) I haven't checked, but I'd say it's a safe bet that this is what the

wget ftp url syntax is wrong

2001-02-26 Thread Jamie Zawinski
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

Re: wget ftp url syntax is wrong

2001-02-26 Thread Hanno Foest
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:

Re: wget ftp url syntax is wrong

2001-02-26 Thread Jan Prikryl
Quoting Hanno Foest ([EMAIL PROTECTED]): 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:

Re: wget ftp url syntax is wrong

2001-02-26 Thread Jamie Zawinski
Hanno Foest wrote: ftp://ftp.redhat.com/pub/redhat/updates/7.0/i386/apache-devel-1.3.14-3.i386.rpm ftp://ftp.redhat.com//pub/redhat/updates/7.0/i386/apache-devel-1.3.14-3.i386.rpm ... I don't think so. The double slash in front of the path part of the URL starts the path in the ftp

Re: wget ftp url syntax is wrong

2001-02-26 Thread Jan Prikryl
Quoting Jamie Zawinski ([EMAIL PROTECTED]): However, that said, I still think wget should do what Netscape does, because that's what everyone expects. The concept of a "default directory" in a URL is silly. The correct approach would be to try "CWD url/dir/path/" (the correct meaning) and