From rc5@platinum.com  Wed Dec 17 19:54:37 1997
Received: from gateway2.platinum.com (gateway2.platinum.com [206.214.170.8])
          by hub.freebsd.org (8.8.7/8.8.7) with SMTP id TAA14260
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Dec 1997 19:54:36 -0800 (PST)
          (envelope-from rc5@platinum.com)
Received: by gateway2.platinum.com; id VAA08852; Wed, 17 Dec 1997 21:54:34 -0600
Received: from freebert.vt.platinum.com(192.168.105.177) by gateway2.platinum.com via smap (3.2)
	id xma008831; Wed, 17 Dec 97 21:54:12 -0600
Received: (from rc5@localhost)
	by freebert.vt.platinum.com (8.8.8/8.8.7) id VAA01165;
	Wed, 17 Dec 1997 21:51:56 -0600 (CST)
Message-Id: <199712180351.VAA01165@freebert.vt.platinum.com>
Date: Wed, 17 Dec 1997 21:51:56 -0600 (CST)
From: "bjn@visi.com" <Brent.J.Nordquist@platinum.com>
Reply-To: "bjn@visi.com" <Brent.J.Nordquist@platinum.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: RFC1738 changes to fetch break non-anonymous FTP
X-Send-Pr-Version: 3.2

>Number:         5332
>Category:       bin
>Synopsis:       RFC1738 changes to fetch break non-anonymous FTP
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 17 20:00:00 PST 1997
>Closed-Date:    Wed Dec 17 22:16:56 PST 1997
>Last-Modified:  Wed Dec 17 22:17:14 PST 1997
>Originator:     Brent J. Nordquist
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
None
>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.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fenner 
State-Changed-When: Wed Dec 17 22:16:56 PST 1997 
State-Changed-Why:  
Duplicate for bin/5333 
>Unformatted:
