cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: simple.c doesn't work...

From: gbstack <gbstack08_at_gmail.com>
Date: Fri, 03 Jul 2009 19:27:36 +0800

Irvs wrote:
> me too is a newbie, hope this one will help you.
>
> you might want to try adding this line to display the output to the
> console:
> curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
> or you can redirect it to a file
> example :
> curl_easy_setopt(curl, CURLOPT_WRITEDATA, file);
> // CUROPT_WRITEDATA will write the actual data only without the
> header information
>
> hth,
> Irvs
>
>
> On Fri, Jul 3, 2009 at 6:31 PM, gbstack <gbstack08_at_gmail.com
> <mailto:gbstack08_at_gmail.com>> wrote:
>
> Hi,everyone!
>
> I just compiled the simple.c(an example code of curl
> website:http://curl.haxx.se/lxr/source/docs/examples/simple.c),but
> when I ran it,it didn't work,it didn't display anyting...
>
> what should I do to fix it?
> any suggestion is appreciated.
>
> Regards,
> Todong Ma
>
>

Redirecting to file didn't work either...
thank you as well.

Regards,
Todong Ma
Received on 2009-07-03