On Thu, Feb 03, 2011 at 07:39:30PM -0600, John Zadeh wrote:
> I am trying to follow provided examples, to send HTTP data out to a file.   
> The
> following code will not successfully
> send HTTP to the file ("output).    Can someone please help me understand what
> is wrong with it?

There's no call to curl_easy_perform(). There's no point in setting up all
those options if they're never used to do a transfer. Also, outfile is never
closed.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to