Date: Wed, 17 Dec 1997 22:18:35 -0600 (CST) From: "Brent J. Nordquist" <bjn@visi.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/5333: RFC1738 changes to fetch break non-anonymous FTP Message-ID: <199712180418.WAA08221@thumper.visi.com> Resent-Message-ID: <199712180450.UAA17539@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 5333 >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:50: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 against ftpd on Solaris 2.5.1, SunOS 4.1.4, and UnixWare. >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. A regular 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?199712180418.WAA08221>