curl-users
cURL: Server Error : Index Out of Range
Date: Wed, 18 May 2011 17:31:17 -0400
Greetings;
I have script that logs into a website, then attempts to query the page by
sending POST parameters.
However, while it attempts to process, and I can see the Progress Meter,
however in the output file i get the error: "Error 500:
javax.servlet.ServletException: String index out of range: -1"
Here is the script that tries to POST to the page:
E:\BSG\EXE\curl -k -b E:\BSG\RECEIVE\MNMPhy\cookie.txt -c
E:\BSG\RECEIVE\MNMPhy\cookie.txt -d
"mailboxTransactionResponses%3AfolderSelectForm=mailboxTransactionResponses%3AfolderSelectForm
&mailboxTransactionResponses%3AfolderSelectForm%3AstartDateInput=03%2F19%2F2011
&mailboxTransactionResponses%3AfolderSelectForm%3AendDateInput=05%2F18%2F2011
&mailboxTransactionResponses%3AfolderSelectForm%3AvalidateQuickSearch=VALIDATOR
&folder=workspace%3A%2F%2FSpacesStore%2F056b84d7-b83f-4276-aca4-0c6e6f925f7c
&mailboxTransactionResponses%3AfolderSelectForm%3AmailSearch=Search
&javax.faces.ViewState=j_id1%3Aj_id2"
https://mn-its.dhs.state.mn.us/mailbox_secondgen_web/mailboxTransactionResponsesLayout.faces-o
"E:\BSG\RECEIVE\MNMPhy\file.curl"
Is this a server error engendered by script's syntax?
Thanks in advance!
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-05-18