Hi,

>       retCode =curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION,
> write_data);

You are overriding the default write function here.

> I am not able to retrieve the header & body information using the above
> piece of code. I didn’t get any error message using CURLcode.
>
> I got the content of head.out as

[snipped the header information]

> & the  empty information in body.out file.

Do you get something in body.out if you remove the above line in your code?

Best regards,
Julien
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to