cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET