@lexvictory :
Sorry lexvictory but my version is my work. I completly imported header of Libcurl, function after function, constant after constant, structure after structure. Like I have done for all my wrappers.
Actually my wrapper has not been tested under Linux. And I have some modifications to do on my wrapper inspirated of you own, you will be in credits.
@KoopaOne :
Like you can see here (
http://curl.netmirror.org/libcurl/c/lib ... orial.html) in the section "Cookies Without Chocolate Chips", you can send cookie via this function :
Code: Select all
curl_easy_setopt(easyhandle, #CURLOPT_COOKIE, @"name1=var1; name2=var2;")
So in you case, you must read the content of you file in text mode, put this content in a string and define it with curl_easy_setopt.