Subject: bin/8937: NetBSD ftp client not compatible with current wu-ftpd
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dgatwood@deepspace.mklinux.org>
List: netbsd-bugs
Date: 12/02/1999 19:46:03
>Number:         8937
>Category:       bin
>Synopsis:       NetBSD ftp client not compatible with current wu-ftpd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec  2 19:45:00 1999
>Last-Modified:
>Originator:     David A. Gatwood
>Organization:
The MkLinux Project
>Release:        NetBSD-current
>Environment:
NetBSD ftp2.mklinux.org 1.4L NetBSD 1.4L (GENERIC) #0: Sat Oct 30 22:38:42 PDT 1999     root@ftp2.mklinux.org:/src/sys/arch/mac68k/compile/GENERIC mac68k
>Description:
The ftp client currently being shipped with NetBSD uses the LIST/NLST
commands incorrectly, and as a result, beginning with the current
wu-ftpd (2.6.0), fails to list any directories.  You can cd into the
directories, but not list them.  This is apparently a common problem
with ftp clients, although it's all the way down at #25 on their FAQ....

        25. Directory listings are wrong and miss directories
            Starting wu-ftpd 2.6.0, the interpretation of NLST versus
            LIST ftp commands has been changed to what is the right
            interpretation. NLST lists retrievable files for the ftp mget
            command, LIST lists all files for a human reader. Suggested
            fix: fix the client software.

>How-To-Repeat:

ftp ftp.mklinux.org
>Fix:
Should just be a simple change to the input parsing to replace ls with
LIST instead of NLST.

>Audit-Trail:
>Unformatted: