From owner-freebsd-bugs Sun Jan 13 18:40: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 088F737B419 for ; Sun, 13 Jan 2002 18:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0E2e1c47573; Sun, 13 Jan 2002 18:40:01 -0800 (PST) (envelope-from gnats) Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id BFFFB37B400 for ; Sun, 13 Jan 2002 18:32:56 -0800 (PST) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id NAA23075 for ; Mon, 14 Jan 2002 13:32:55 +1100 (EST) (envelope-from gnb@itga.com.au) Received: from hellcat.itga.com.au (hellcat.itga.com.au [192.168.71.163]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id NAA08121; Mon, 14 Jan 2002 13:32:55 +1100 (EST) Received: (from gnb@localhost) by hellcat.itga.com.au (8.11.6/8.11.6) id g0E2Wsc08009; Mon, 14 Jan 2002 13:32:54 +1100 (EST) (envelope-from gnb) Message-Id: <200201140232.g0E2Wsc08009@hellcat.itga.com.au> Date: Mon, 14 Jan 2002 13:32:54 +1100 (EST) From: Gregory Bond To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/33856: "fetch -o" gives bogus error message Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33856 >Category: bin >Synopsis: "fetch -o" gives bogus error message >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 13 18:40:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gregory Bond >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: ITG Australia Limited >Environment: System: FreeBSD hellcat.itga.com.au 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #41: Fri Jan 4 09:32:06 EST 2002 root@:/usr/obj/usr/src/sys/Hellcat i386 >Description: A command like fetch -o /existing/dir ftp:/non/existent/file will give the bogus error message fetch: /existing/dir/file: Not Found This is bogus (or at least highly misleading) because it is not the local file that is not found, but the remote one. Without the -o file, then it gives a more reasonable message: $ fetch ftp://ftp.freeBSD.org/pub/FreeBSD/not-here fetch: not-here: Not Found $ >How-To-Repeat: $ fetch -o /tmp ftp://ftp.freeBSD.org/pub/FreeBSD/not-here fetch: /tmp/not-here: Not Found $ [NB: I'm using an HTTP_PROXY environment variable if that makes any difference.] >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message