On Thu, 22 Mar 2012, vikas vikas wrote:

I am uploading data to server using curl_easy_send. I am using curl_easy_getinfo with CURLINFO_SIZE_UPLOAD option to know the size, but it always gives 0.

That's supposed to provide the size _after_ an upload is done. Are you saying that it doesn't work?

Also i tried CURLOPT_DEBUGFUNCTION... The callback only gives information about CURLINFO_TEXT during connection phase, i did not got any information from the callback during data sending phanse...

The debug callback gets all data that is transfered so I don't know how you detirmined you get nothing.

How to know the uploaded size...

How about the progress callback?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to