cURL / Mailing Lists / curl-users / Single Mail

curl-users

FW: New User Issues -- Post Problems

From: Rod Anderson <randerson_at_avnix.com>
Date: Thu, 10 Feb 2005 09:31:27 -0500

 
 

I'm having problems writing a script to a website that provides no support.
Below I have attached the parms I'm using, original HTML form, and the error
that is being returned. The site does require a cookie which I'm retrieving
with the -I switch prior to running the following script.
 
Any help would be greatly appreciated.
 
Thanks in advance,
 
Rod Anderson
 
 
/* cURL parms */
 
curl -A "Mozilla/4.5 (compatible; MSIE 5.0; Windows NT)"
       -F "TR_DIR=upload"
       -F "userid=QX0207"
       -F "password=password"
       -F "SUB1=Perform%20Action"
       -b "ASPSESSIONIDSSBDQRSR=IBBBECLCFPLDDJIMADHOGDEL"
       https://accessecs.sys.xxxyyy.com/getlogin.asp
<https://accessecs.sys.xxxyyy.com/getlogin.asp>
 
 
/************************************ Working Form
********************************/ <form NAME=main METHOD="POST"
ACTION="https://accessecs.sys.xxxyyy.com/getlogin.asp
<https://accessecs.sys.xxxyyy.com/getlogin.asp> "
ENCTYPE="multipart/form-data">
 
<INPUT TYPE="text" NAME="TR_DIR" VALUE="DISP_LOG"> <input TYPE="text"
SIZE="8" MAXLENGTH="8" NAME="userid" VALUE=QX0207> <input TYPE="password"
SIZE="8" MAXLENGTH="8" NAME="password" VALUE=password> <INPUT TYPE="SUBMIT"
NAME="SUB1" VALUE="Perform Action"> </FORM>
 
 
/**************** RESULTS *******************/
<font face="Arial" size=2>
<p>Microsoft OLE DB Provider for ODBC Drivers</font>
<font face="Arial" size=2>error '80040e21'</font>
<p>
<font face="Arial" size=2>Multiple-step OLE DB operation generated errors.
Check each OLE DB status value, if available. No work was done.</font>
<p>
<font face="Arial" size=2>/inet_log.asp</font><font face="Arial" size=2>,
line 9
115 506 100 374 158 209 602
336 0:00:00 0:00:00 0:00:00 148
Received on 2005-02-10