cURL / Mailing Lists / curl-users / Single Mail


Need assistance

From: Piskulic, Kristin <>
Date: Tue, 28 Jun 2005 10:48:02 -0500

I am attempting to post an XML file to a URL from and HP Unix server.

                        <META NAME="GENERATOR" Content="Microsoft Visual
Studio 6.0">
                        <title>Testing Page</title>
                <form name="frmXML" action="receiveOrder.asp"
                        <input type="button" name="btnDirect"
value="Send by POST" onClick="javascript: document.frmXML.action = 'http
                <textarea name="OrderXML" cols="60" rows="35">
                <?xml version="1.0" encoding="UTF-8" ?>

I am using the following from the command prompt in UNIX to send this:

        curl -v -o kpp.bat -d @testfile.htm --trace-ascii kpp.txt -H

Something is getting lost in the translation as the file appears to make
it, but responds with the following:


Which translates to invalid XML format. Any suggestions as to what to
try next?

Confidentiality Warning: This e-mail contains information intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, any dissemination, publication or copying of this e-mail is strictly prohibited. The sender does not accept any responsibility for any loss, disruption or damage to your data or computer system that may occur while using data contained in, or transmitted with, this e-mail. If you have received this e-mail in error, please immediately notify us by return e-mail. Thank you.
Received on 2005-06-28