cURL / Mailing Lists / curl-users / Single Mail

curl-users

Small message (help again)

From: I_ P_ <pi1n_at_yahoo.fr>
Date: Tue, 25 Sep 2001 15:48:46 +0200 (CEST)

Hello again!

I have a probleme:
I done what you said in your answer:

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

I use the "moo" file to download:

C:\nn\sfr>curl -b moo -L
"http://195.115.48.10/servlet/ProxyFirst?redirect=SMS&LANGUAGE=FR&PAGE=laun
ch" -o form.html -D moo2
and second file "moo2" with the cookies that contain:
---------begin_file--------------
HTTP/1.1 302 Moved Temporarily
Server: Netscape-Enterprise/3.5.1C
Date: Tue, 25 Sep 2001 13:40:43 GMT
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie,set-cookie2"
Set-cookie: jrunsessionid=1001425244705246657; path=/
Content-type: text/html
Location:
/servlet/SMSServlet_KZ1OS9?redirect=SMS&LANGUAGE=FR&PAGE=launch
Connection: close

HTTP/1.1 200 OK
Server: Netscape-Enterprise/3.5.1C
Date: Tue, 25 Sep 2001 13:40:44 GMT
Set-cookie: texto=1001425244967;path=/;expires=Fri,
18-Jul-2036 15:20:00GMT
Content-type: text/html
Connection: close
------------end_file------------------------

when I tried to excute the post:

C:\nn\sfr>curl -b moo2 -d
"notification_flag=false&langauge=fr&network=smsc1&delivery_time=0&deliver
y_date=25&delivery_month=09&delivery_year=2001&delivery_hour=15&delivery_min=05&sender=ion&short_mes
sage=test%20%20mail2x&validity_period=1&recipient=0622222222&submit=envoyer"
-L "http://195.115.48
.10/servlet/ProxySecond?redirect=SMS" -D moo3

I get:

<head><title>JRun Servlet Error</title></head>
<h1>412 Unknown</h1><body>
SFR 02<p>
</body>

Do you know what happend?

Thanks a lot, and i'm sorry about any problem I made.

___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com
Received on 2001-09-25