From owner-freebsd-bugs Sun Oct 5 14:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA10215 for bugs-outgoing; Sun, 5 Oct 1997 14:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA10190; Sun, 5 Oct 1997 14:20:02 -0700 (PDT) Date: Sun, 5 Oct 1997 14:20:02 -0700 (PDT) Message-Id: <199710052120.OAA10190@hub.freebsd.org> To: freebsd-bugs Cc: From: "David O'Brien" Subject: Re: bin/4670: /usr/bin/fetch fails to ftp a file ncftp can Reply-To: "David O'Brien" Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/4670; it has been noted by GNATS. From: "David O'Brien" To: John-Mark Gurney Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/4670: /usr/bin/fetch fails to ftp a file ncftp can Date: Sun, 5 Oct 1997 14:13:55 -0700 > well.. basicly the output tells you all you need.. when you login, > the file pub/unix/mail/.../mutt isn't avail.. it turns out that the > ftp server decides to dump you in the /pub directory instead of the > root directory... so you end up duplicating the pub... > > now the question is, should we simply add a / to the front of the path > in fetch? it would fix it... I'd say yes. It is the implimentation of least surprize. If I wanted a relative path, I'd have specified it as: ftp://ftp.foo.com/./some/dir/path/filewanted.tar.gz -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org)