Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 13:32:54 +1100 (EST)
From:      Gregory Bond <gnb@itga.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/33856: "fetch -o" gives bogus error message
Message-ID:  <200201140232.g0E2Wsc08009@hellcat.itga.com.au>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201140232.g0E2Wsc08009>