From owner-freebsd-chat Sat May 2 06:57:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA24850 for freebsd-chat-outgoing; Sat, 2 May 1998 06:57:26 -0700 (PDT) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA24845 for ; Sat, 2 May 1998 06:57:20 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id NAA23267; Sat, 2 May 1998 13:57:19 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id PAA08742; Sat, 2 May 1998 15:57:03 +0200 (MET DST) Message-ID: <19980502155703.02558@follo.net> Date: Sat, 2 May 1998 15:57:03 +0200 From: Eivind Eklund To: dg@root.com Cc: chat@FreeBSD.ORG Subject: Re: ftp.freebsd.org acting funny? References: <19980502141757.54394@follo.net> <199805021341.GAA22661@implode.root.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805021341.GAA22661@implode.root.com>; from David Greenman on Sat, May 02, 1998 at 06:41:32AM -0700 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, May 02, 1998 at 06:41:32AM -0700, David Greenman wrote: [... on NLST ...] > It specifically does not provide for multicolumn output, funny characters > added to the filenames to indicate their type, or provide for the passing and > processing of any command options. It takes a pathname argument and nothing > more. The reason that it worked at all with the standard BSD ftpd server is > that that had a kludge in the code to work around getting bogus arguments > to NLST, even though this makes it violate the FTP RFC. > If I wanted to support this in my code, it is more than a matter of > adding a similar kludge - I'll also have to write the code to do those > (-C -F, etc) options, and I'm not too excited about doing that, especially > when the whole point of this exercise was to reduce CPU and memory overhead > on the machine. Would it be feasible to just ignore any bogus arguments? This would probably at least make 'ls' in ncftp give a directory listing, instead of just giving an error message (which IMO makes it unusable :-( It's a hack, but it might still be the right tradeoff. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message