cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Download a gif

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Feb 2008 09:42:40 +0100 (CET)

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.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-02-15