cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP SIZE command?

From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Tue, 8 Aug 2006 10:29:31 +0200

>> first list ftp folders so I do a LIST command, and i have the sizes and I
>> thought that libcurl really needed them, so that's why I wanted to
>> provide them. but if I can find another way (parsing the RETR response
>> line potentially, if I understood you well), it's cool.
>
> The thing is just that I find it unlikely that people and apps in general
> will know the size on beforehand and want to pass that to libcurl to avoid
> the SIZE and still get a reliable size check. That's why I dislike the
> idea of having the API that way.
yes I am absolutely ok. let the SIZE stuff be only a enable/disable flag. I
can verify the file size from my side, if it was not found by libcurl.

> The RETR size parser is already in libcurl the way I described.
cool
Received on 2006-08-08