cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Output Buffer of libcurl

From: Aleksandar Lazic <al-curllibrary_at_none.at>
Date: Sun, 3 Feb 2008 12:56:53 +0100

Hi Ercan,

On Son 03.02.2008 12:21, Ercan Akyürek wrote:
>Hello Everybody,
>I haven't ever written one line code of libcurl, and I would like to
>learn it, but I can write C codes ;)
[snipp]
>I would like to save the output buffer of the returned content from the
>server in an array-char....
>
>How can I do this?

Have you looked into the examples page?!

http://curl.haxx.se/libcurl/c/example.html

=> get a remote file in memory only
http://curl.haxx.se/lxr/source/docs/examples/getinmemory.c

BR

Aleksandar Lazic
Received on 2008-02-03