cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: tracking download for each handle

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Sat, 2 May 2009 06:34:37 -0500

On Sat, May 2, 2009 at 5:27 AM, Saidus Bounderra <bsaidus_at_gmail.com> wrote:

> for the progress function : is it possible to identify at any time which
> handle is downloading (in activity) in the progress function
> or is there any way to do that !!

Sure, if you do:
curl_easy_setopt(curl_handle, CURLOPT_PROGRESSDATA, curl_handle);

Then the first argument in your progress callback will point back to
the curl_handle.

 - Jeff
Received on 2009-05-02

These mail archives are generated by hypermail.

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

File upload with ASP.NET