curl-library
Re: writing body to a file
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Feb 2002 00:01:49 +0100 (MET)
Date: Wed, 27 Feb 2002 00:01:49 +0100 (MET)
On Tue, 26 Feb 2002, James Cox wrote:
> So i know it's possible to write the header to a file, using:
>
> curl_easy_setopt(curl_handle, CURLOPT_WRITEHEADER, headerfile);
>
> But is there an option to do the same for the body? eg, CURLOPT_WRITEBODY ?
Yes, that option is named CURLOPT_FILE.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-02-27