cURL / Mailing Lists / curl-users / Single Mail

curl-users

ERROR - curl: (26) failed creating formpost data

From: Michael Peluso <mpeluso_at_acc-q-data.com>
Date: Fri, 26 Oct 2007 21:16:21 -0400

ERROR - curl: (26) failed creating formpost data

I'm completely new to cURL.
I've trying to use it from the command line (Windows 2000), getting the
above error, when trying to send a file.

D:\CURL\curl-7.17.0>curl https://access.webmd.com/ITS/post.aspx -F
"wsUSerID=<IT
ST_AQDMSI>" -F "wsPassword=<z7QL8q9a>" -F "wsMessageType=X12" -F
"wsRealtimeFile
=@<d:\270testFiles\270test2S.txt"

or when just sending data:

D:\CURL\curl-7.17.0>curl https://access.webmd.com/ITS/post.aspx -F
"wsUSerID=<IT
ST_AQDMSI>" -F "wsPassword=<z7QL8q9a>" -F "wsMessageType=X12" -F
"wsRequest=<ISA
*00* *00* *ZZ*15057839 *ZZ*WEBMD
*071026*1510*U
*00401*260000117*1*T*:~GS*HS*15057839
*WEBMD*20071026*1510*260000117*X*004010X0
92A1~ST*270*0001~BHT*0022*13*260000117*20071026*1510~HL*1**20*1~NM1*PR*2*WEB
MD C
ERTIFICATION
PAYER*****PI*00999~HL*2*1*21*1~NM1*1P*2*GUERINHOSPITAL*****XX*11223
34455~HL*3*2*22*0~TRN*1*260000117*1ABC123DEF~NM1*IL*1*BECK*ROD****MI*R5TJR4H
R4H~
DMG*D8*19720203*M~EQ*98**FAM*MB~SE*12*0001~GE*1*260000117~IEA*1*260000117~>"

I have the OpenSSL and libcurl w/SSL installed.

any help is appreciated.

____________________________________
Michael V Peluso
Application Development

(866) 631-3108 x221
MPeluso_at_Acc-Q-Data.Com
____________________________________

The information contained in this message may be privileged, confidential
and, protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are herby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify
us immediately at 1-866-631-3108 or by replying to the message and deleting
it from your computer.

image001.gif Notebook.jpg
Received on 2007-10-27