cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: your mail

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 20 Sep 2001 16:48:03 +0200 (MET DST)

On Thu, 20 Sep 2001, Nusu wrote:

> I received:
>
> C:\nn\sfr>type xxx.html
> <head><title>JRun Servlet Error</title></head>
> <h1>412 Unknown</h1><body>
> SFR 07<p>
> </body>

I think this is how to proceed:

1. Get the index page, which sets a cookie we might need:

        curl http://www.sfr.fr/texto/index.jsp -D moo

2. Get the right part of the frame set, follow location and use the previous
   cookie:

        curl -b moo -L
'http://195.115.48.10/servlet/ProxyFirst?redirect=SMS&LANGUAGE=FR&PAGE=launch'
-o form.html

3. Now you have a form HTML in the form.html file. Figure out what to use in
   that file and send a POST. I won't try to actually do that.

 You may need to capture the additional cookie as returned by the second
command.

Good luck!

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-09-20