cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp upload example question

From: Daniel Stenberg <daniel_at_haxx.se>
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
      transfered

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-09-06