cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Upload speed and remaining time

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Jan 2011 23:33:28 +0100 (CET)

On Tue, 4 Jan 2011, Dumitru Adrian wrote:

> How can i get upload speed and reamaining time using libcurl?

With the PROGRESSFUNCTION or by calculating it yourself in the read callback.

> I tryed with curl_easy_getinfo() in my progress function but didn't work.

Perhaps you should tell us with lots of more details what you tried and what
you got and what you expected...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-04