Subject: Re: ftp/ftpd & SIZE
To: None <>
From: Manuel Bouyer <>
List: tech-userlevel
Date: 07/29/2002 11:02:46
On Mon, Jul 29, 2002 at 05:53:46PM +0900, wrote:
> >This is probably because 'ls' is done in ascii and either ftp or ftpd
> >remember that. This is probably wrong.
> 	i tend to agree.
> >Now if I had issued the size on i386pkg1.iso it would be more annoying:
> >in binary, ftpd just returns the result of a stat, but in ascii it has
> >to parse the whole file to do the NL/CR-NL convertion. On a +600MB file
> >this takes a lot of time, the client times out, etc ...
> 	recent libexec/ftpd rejects SIZE request if the actual size is > 10k,
> 	so not to worry.

Hum. But there are ASCII files larger than 10k, actually. This looks wrong.

Manuel Bouyer, LIP6, Universite Paris VI.