CURLOPT_COOKIEJAR (3) Linux Manual Page
CURLOPT_COOKIEJAR – file name to store cookies to Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COOKIEJAR, char *filename); DescriptionPass a filename as char *, zero terminated. This will make libcurl write all internally known cookies to the specified file when curl_easy_cleanup(3) is called. If no cookies are known, no file will be created. Specify "-" as filename…
