Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 1998 15:57:03 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        dg@root.com
Cc:        chat@FreeBSD.ORG
Subject:   Re: ftp.freebsd.org acting funny?
Message-ID:  <19980502155703.02558@follo.net>
In-Reply-To: <199805021341.GAA22661@implode.root.com>; from David Greenman on Sat, May 02, 1998 at 06:41:32AM -0700
References:  <19980502141757.54394@follo.net> <199805021341.GAA22661@implode.root.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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