cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Is it possiable to let the `PROGRESS METER' give precise results upto bytes?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 9 May 2015 16:30:18 +0200 (CEST)

On Thu, 7 May 2015, Hongyi Zhao wrote:

> Can I get the exact number with the progress callback from libcurl with the
> above curl version complied by me?
>
> I'm not familiar with libcurl, could you please give some more hints for the
> above job?

libcurl: http://curl.haxx.se/libcurl/

The progress callback for libcurl:
http://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html

Example code using it:
http://curl.haxx.se/libcurl/c/progressfunc.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-05-09