cURL / Mailing Lists / curl-library / Single Mail

curl-library

using easy curl

From: Ralph Blach <chipperb_at_nc.rr.com>
Date: Wed, 17 Feb 2010 16:29:33 -0500

When I do an http from my web browser, I see lots of binary files, like gifs being transfered.

Here is my code.

curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errorBuffer);
         curl_easy_setopt(curl, CURLOPT_HEADER, 0);
         curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
         curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, writer_data);
         curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
        curl_easy_setopt(curl, CURLOPT_URL, urlptr);
         result = curl_easy_perform(curl);
The above commands does not get the giffs or jpgs.

What other options do I have to get the giffs and other binary data.

Thanks

Chip
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-17