cURL / Mailing Lists / curl-library / Single Mail


Help translate CURL to libcurl please

From: Koopa One <>
Date: Thu, 8 May 2008 19:25:44 +0200

Ok, i have 2 CURL-Lines i need to use in libcurl. As i am new to "curling" i
hope someone can help me here:
Ok, here is the code in my program, that i use to fetch a file (i call the
curl.exe with that arguments out of my program):

the first one fetches the cookie:
curl -c cookie.txt -L

the second one gets the files with sending the cookie stored before.
curl --cookie cookie.txt -o xxxxx.rar --referer

No i have found a wrapper for libcurl and want to do the program exactly the
same. Unfortunatelly i dont know which switches are which keyword. Can
someone PLEASE, PLEASE help?
And is it possible to make 1 line out of these two?

Btw, the coding-language is purebasic.

Thx in advance

P.S.: Sorry for my bad english, i hope someone understands what i want lol
Received on 2008-05-08