cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with CURLOPT_WRITEDATA getting Binary data

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sun, 30 May 2010 11:04:53 +0200

On Sunday 30 of May 2010 08:01:59 Kalidoss Sivasamy wrote:
> I have this following code getting the binary data stored in a buffer.
> While this gets all the data to the console fine (without WRITEDATA), it
> doesn't get the complete data to the char buffer. WRITEFILE works fine as
> well.
>
> Am I missing any options here?

I see the code is sort of copy-pasted docs/examples/getinmemory.c. Is
it just re-indented, or did you change anything else? Does the original
example work fine for you?

And please specify exactly, what is the actual/expected behavior of your
example.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-30