cURL / Mailing Lists / curl-users / Single Mail

curl-users

Error (26) failed creating formpost data

From: Reginald Baugh <reginald.baugh_at_gmail.com>
Date: Fri, 15 Apr 2011 09:58:29 -0400

Greetings;

I am receiving the dreaded: Error (26) failed creating formpost data.

The script logs into the site, then attempts to upload a file into the
form. The code below is just the portion that tries to load the file.

C:\_Dev\curl -k -b C:\_Dev\cookies.txt -c C:\_Dev\cookies.txt
 -e
https://mn-its.dhs.state.mn.us/mailbox_secondgen_web/submitSubmitTransactionsLayout.faces
-F
"submitTransactions:form1:j_id_jsp_1394483310_9pc2:0:fileForUpload=@C:\_Dev\test.txt"

-F
"submitTransactions:form1:j_id_jsp_1394483310_9pc2:0:menu1=workspace://SpacesStore/40f92357-41e6-48d2-bb02-9ea55b18ecb3=THISISATEST"
 -F "submitTransactions:form1:uploadFile=Upload+&amp;+Submit"
 -F "appLevelOneName=MnIts"
-F "appLevelTwoName=SubmitTransactions"
-L
https://mn-its.dhs.state.mn.us/mailbox_secondgen_web/submitTransactionHistoryLayout.faces
 -v -o "C:\_Dev\file.curl"

All feedback is appreciated and welcomed, thanks!

Reginald

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-15