Subject: Re: FTP shouldn't use .netrc for URL fetches?
To: NetBSD current-users mailing list <current-users@netbsd.org>
From: None <erh@nimenees.com>
List: current-users
Date: 04/13/2000 19:20:21
On Thu, Apr 13, 2000 at 06:37:55PM -0400, Andrew Brown wrote:
> >So, should the URL always be of the form :
> >
> >  ftp://ftp.netbsd.org/%2Fpub/incoming/blymn/edit.tar.gz
> >
> >(which works), or should ftp ignore ~/.netrc for URL fetches?
> 
> on a different (but related) note, i've always wondered why ftp does a
> cwd for each path component before doing the retr.  why not simply
> retr /pub/incoming/blymn/edit.tar.gz?  yes, i know that if i ftp in
	rfc 1738 again.  It specifies that it's supposed to do
the multiple cwd's first.  but a multi level fall back scheme would
probably work too.  (retr foo/bar/file.x, if fail cwd foo/bar;retr file.x,
if fail cwd foo;cwd bar;retr file.x.)  (with an option to turn it off
for ftp servers that do something weird if you try the optimized commands)

eric