cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Newbie Question...

From: Bjorn Reese <breese_at_mail1.stofanet.dk>
Date: Sun, 10 Jun 2001 09:38:09 +0000

listmail_at_cramnotch.com wrote:

> newbie question... What's the easiest way to capture a returned web page
> in a string? I've been playing with CURLOPT_WRITEFUNCTION but have not
> been very successful in my many attempts to save the data. I don't want
> to write it to a file or anything -- I just want to shove it in a char *.

See section 5.2 "How can I receive all data into a large memory chunk?"
in docs/FAQ.

_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-06-11