curl / Mailing Lists / curl-library / Single Mail

curl-library

Issue with Outputting CURL Verbose Info to a File

From: Chris Molnar <cmolnar_at_appzero.com>
Date: Tue, 6 Feb 2018 15:37:18 -0500

 Hi All,

I seem to be running into a problem when trying to output the verbose info
to a file. I have set it up to send using curl_easy_setopt(curl, CURLOPT,
file) as it shows on the website (the first 2 links below) but it never
seems to output anything to the file. I looked further into this problem
and found that someone had the same problem but the suggested solution only
seemed to work on Linux and not Windows (as seen in the 3rd link). I was
wondering if anyone had any knowledge of this being a problem on Windows
devices or a possible work around? I have attached a snippet of my code
below.

Thank you for your time and help

References:
https://curl.haxx.se/libcurl/c/CURLOPT_STDERR.html
https://curl.haxx.se/libcurl/c/CURLOPT_VERBOSE.html
https://stackoverflow.com/questions/38720602/getting-verbose
-information-from-libcurl-to-a-file

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

Received on 2018-02-06