cURL / Mailing Lists / curl-library / Single Mail


Re: How does curl_easy_getinfo CURLINFO_CONTENT_LENGTH_DOWNLOAD work?

From: Dan Fandrich <>
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:
Received on 2012-01-05