cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How does curl_easy_getinfo CURLINFO_CONTENT_LENGTH_DOWNLOAD work?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 5 Jan 2012 12:04:02 -0800

On Thu, Jan 05, 2012 at 07:59:47PM +0100, Robin Vossen wrote:
> I have been hacking around with cUrl and I want to use it to download a page to the memory buffer.
> And I tried to do the following:
[...]
> But it keeps saying Fail.
> My question would be, which part of the documentation did I interpret wrong?

Important parts of it. Start by reading libcurl-tutorial(3), then look at
the getinmemory.c example code, which already does what you want.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-05