curl-library
Re: Download a gif
Date: Fri, 15 Feb 2008 11:40:25 +0100
Jeff Pohlmeyer schrieb:
> On Fri, Feb 15, 2008 at 3:51 AM, Michael Hecker <Hecker.Michael_at_gmx.de> wrote:
>
>> Jeff Pohlmeyer schrieb:
>>
>>> Michael Hecker <Hecker.Michael_at_gmx.de> wrote:
>>>
>
>
>
>> >> How can I print all the data?
>>
>
> print to what? file? printer? console?
>
I don't want to save the file to my hdd. I just want to be sure that
everything went right, so I would like to see the binary data in the
console.
>
>
>
>> CCommunicator_MemoryStruct chunk1;
>>
>
> I have no idea what a "CCommunicator_MemoryStruct" is
>
>
>
>
struct CCommunicator_MemoryStruct {
CCommunicator_MemoryStruct()
{
memory = NULL;
size = 0;
}
char *memory;
size_t size;
};
>> curl_easy_perform(curl_handle);
>>
>> if(chunk1.memory)
>> {
>> // Output of the data
>>
>
> What do you want to do here?
>
>
I want to write it to the console.
Michael
>
> - Jeff
>
>
Received on 2008-02-15