Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 1997 21:51:56 -0600 (CST)
From:      "bjn@visi.com" <Brent.J.Nordquist@platinum.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/5332: RFC1738 changes to fetch break non-anonymous FTP
Message-ID:  <199712180351.VAA01165@freebert.vt.platinum.com>
Resent-Message-ID: <199712180400.UAA14515@hub.freebsd.org>

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

>Number:         5332
>Category:       bin
>Synopsis:       RFC1738 changes to fetch break non-anonymous FTP
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 17 20:00:00 PST 1997
>Last-Modified:
>Originator:     Brent J. Nordquist
>Organization:
None
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	Affects (tested on) 3.0-CURRENT-971208 and 2.2-STABLE-971212

>Description:

	The recent changes to usr.bin/fetch/ftp.c (1.8&9 and 1.3.2.4&5)
	cause non-anonymous FTP fetches to fail.

>How-To-Repeat:

	When FTP_LOGIN and FTP_PASSWORD are set, the two forms
	(ftp://host/path/to/file.txt and -h host -c path/to -f file.txt)
	both result in the same error:

fetch: host: path: File unavailable (e.g., file not found, no access)

	Note that the third error token ("path") is the first component;
	this is suspiciously similar to the change description for rev
	1.8.  The ftp command with the same login, password, path, and
	file works fine.

>Fix:
	
	Reverting to rev 1.7 or 1.3.2.3 fixes the problem.

>Audit-Trail:
>Unformatted:



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