curl-users
Re: cookie problem in curl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 21 Sep 2004 10:13:18 +0200 (CEST)
Date: Tue, 21 Sep 2004 10:13:18 +0200 (CEST)
On Tue, 21 Sep 2004, Ashok kumar wrote:
> curl -o 'page1.html' -L -2 -c 'c.txt' -b 'c.txt' -d 'ddd=<unamw><pwd>'
> 'aaaa.com/login.html'
I'm not sure -c works with your excessively old version of curl.
> For above curl the result of cookie is below:
[headers]
No, -c should write a cookie file using the Netscape format. This wasn't.
> curl 7.9.5 (i386-redhat-linux-gnu) libcurl 7.9.5 (OpenSSL 0.9.6b) (ipv6
> enabled)
Again: upgrade. It is useless to troubleshoot something which we have bugfixed
a hundred times and released updates for many many years afterwards.
curl 7.12.1 is the best curl version I know. Use that!
-- -=- Daniel Stenberg -=- http://daniel.haxx.se -=- ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2004-09-21