cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Cookies and VMS

From: Bruce Taube <btaube_at_InfoAve.Net>
Date: Mon, 25 Mar 2002 12:14:37 -0500

>
> > I just downloaded curl v7.9.5 for vms and am having some trouble with
> > cookies and the "-D" option. Curl can't seem to create the cookie.
>
> -D stores headers to the given file. Are you saying that you don't get a
file
> created when you use -D?
>

Exactly. However, since my original posting, I've been able to create an
output file when using options "-i -o <filename>" so I don't think it's a
permission problem. Unfortunately, there is a CR,LF after each character in
the ouput file and it doesn't work as a cookie.

> > I've tried creating the file in advance and giving it world write
> > permission to no avail. I'm running the following command on OpenVMS
> > V7.2-1:
>
> It might have to do with something VMS specific. I'm not very good at
those
> details. VMS is a bit different.
>
> Nico, any ideas?
>
> > curl -L -D cookies.txt -d sysadmin_at_infoave.net -d action=login
> > https://www.site.com
> >
> > with the "-vi" options, I get the following results (with some
confidential
> > info removed):
>
> [snip]
>
> > Any suggestions ?
>
> Hm, it doesn't follow the Location: here?
>
> --
> Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
>
>
Received on 2002-03-25