cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Download a gif

From: Michael Hecker <Hecker.Michael_at_gmx.de>
Date: Fri, 15 Feb 2008 10:07:01 +0100

But my char*, which normally contains the html code, contains only
"GIF89addÄ".
Isn't there binary data missing?

Michael

Daniel Stenberg schrieb:
> On Fri, 15 Feb 2008, Michael Hecker wrote:
>
>> I would like to download a gif file from a webserver. What do I have
>> to do?
>>
>> When I take my html-communication-method for a gif-file-request I get
>> something like: GIF89addÄ
>
> You download a gif the exact same way you download HTML. To libcurl
> there's no difference. That "GIF89" text is the start of the binary
> gif image.
>
Received on 2008-02-15