Subject: Re: ftp/ftpd & SIZE
To: Manuel Bouyer <email@example.com>
From: None <firstname.lastname@example.org>
Date: 07/29/2002 17:53:46
>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.