Re: simple.c doesn't work...
Date: Fri, 03 Jul 2009 19:27:36 +0800
> 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
> 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
> On Fri, Jul 3, 2009 at 6:31 PM, gbstack <gbstack08_at_gmail.com
> <mailto:gbstack08_at_gmail.com>> wrote:
> I just compiled the simple.c(an example code of curl
> when I ran it,it didn't work,it didn't display anyting...
> what should I do to fix it?
> any suggestion is appreciated.
> Todong Ma
Redirecting to file didn't work either...
thank you as well.
Received on 2009-07-03