On Fri, 3 Jun 2011, Saqib Ali wrote:
I want to make sure that I perform some logic exactly once IFF the files
were transferred successfully. So where should I place this logic?
When curl_multi_info_read() returns and identifies that the specific handle
has completed its operation I'd say.
curl_multi_info_read() returns a pointer to a struct that looks like this:
When the transfer succeeds, does msg == CURLEMSG_DONE and result ==
CURLE_OK?
Yes. As shown in examples like http://curl.haxx.se/libcurl/c/multi-app.html
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html