From owner-freebsd-bugs Wed Oct 1 10:50:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA27168 for bugs-outgoing; Wed, 1 Oct 1997 10:50:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA27156; Wed, 1 Oct 1997 10:50:02 -0700 (PDT) Date: Wed, 1 Oct 1997 10:50:02 -0700 (PDT) Message-Id: <199710011750.KAA27156@hub.freebsd.org> To: freebsd-bugs Cc: From: John-Mark Gurney Subject: Re: bin/4670: /usr/bin/fetch fails to ftp a file ncftp can Reply-To: John-Mark Gurney 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: John-Mark Gurney To: obrien@NUXI.COM Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/4670: /usr/bin/fetch fails to ftp a file ncftp can Date: Wed, 1 Oct 1997 10:46:51 -0700 David O'Brien scribbled this message on Oct 1: > Sending SIZE pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.diff.gz > pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.diff.gz: not a plain file. > Sending MDTM pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.diff.gz > pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.diff.gz: No such file or directo > fetch: pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.diff.gz: cannot get remot > Sending: PORT 169,237,60,72,4,246 > PORT command successful. > Sending: RETR pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.diff.gz > pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.diff.gz: No such file OR directo > fetch: ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0.84.di > fetch: File unavailable (e.g., file not found, no access) > Sending: QUIT > Goodbye. > bash$ > bash$ > bash$ ncftp ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/mutt-pgp/mutt-0.84e-0. > FTP.FU-Berlin.DE ready, please login as user "ftp". > Receiving file: mutt-0.84e-0.84.diff.gz > mutt-0.84e-0.84.diff.gz: 13751 bytes received in 11.27 seconds, 1.19 K/s. > exit 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 don't have my RFC database close at hand but does it tell you whwer you are suppose to get dumped when you login? -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD