cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Help translate CURL to libcurl please

From: Koopa One <koopaone_at_gmail.com>
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 http://www.xxxxx.com/public/xxxxx.html

the second one gets the files with sending the cookie stored before.
curl --cookie cookie.txt -o xxxxx.rar --referer
http://www.xxxxx.com/public/xxxxx.html
http://www.xxxxxx.com/public/view/xxxxx.html

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET