cURL / Mailing Lists / curl-library / Single Mail


Re: ftp upload example question

From: Daniel Stenberg <>
Date: Thu, 6 Sep 2007 23:19:58 +0200 (CEST)

On Thu, 6 Sep 2007, Dima Yashkir wrote:

> Thank you, I commented out the option for size since I noticed that comment
> says that it is optional and everything seems to work fine now. Is there a
> specific reason for using it? I guess it is for transferring part/parts of a
> file?

Hm, I think the two reasons for using it are:

#1 - to provide better data in the progress callback

#2 - to be able to tell if the transfer was aborted before the whole file was

  Commercial curl and libcurl Technical Support:
Received on 2007-09-06