cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Use curl --cookie-jar cookie.txt through command line will turn on CURLOPT_COOKIEFILE?

From: 魏春明 <weichunmingcs_at_gmail.com>
Date: Tue, 24 May 2016 09:55:44 +0800

Thanks Isaac! I can see what happens in term of libcurl now.

--Sam

2016-05-23 16:07 GMT+08:00 Isaac Boukris <iboukris_at_gmail.com>:

> On Mon, May 23, 2016 at 10:51 AM, 魏春明 <weichunmingcs_at_gmail.com> wrote:
> > Hi curl-users,
> >
> > I am new to curl. I have a question about --cookie-jar option. If I
> specify
> > the following command line in a command line tool:
> > curl --cookie-jar cookie.txt http://example.com
> > Does it enable CURLOPT_COOKIEFILE in curl_easy_setop of libcurl?
>
>
> Try adding '--libcurl app.c' to your command and you'll see what it
> does in terms of libcurl.
>
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-users
> FAQ: https://curl.haxx.se/docs/faq.html
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>

-- 
Best Regards!
Chunming Wei

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-24