cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Post a XML file to a servlet using Curl

From: Mustafa Cayci <acayci_at_yahoo.com>
Date: Thu, 1 Nov 2007 05:56:51 -0700 (PDT)

Hi,

I figured it out that I was not using "@" in front of my file name.

Mustafa

----- Original Message ----
From: Mustafa Cayci <acayci_at_yahoo.com>
To: curl-users_at_cool.haxx.se
Sent: Thursday, November 1, 2007 7:59:06 AM
Subject: Post a XML file to a servlet using Curl

Hi,

I am using the following command to post to a servlet

C:\curl-7.17.1>curl -d
 C:\curl-7.17.1\identify_GES_F_NoAmp_fpset6_053007_TC48B.xml -H "Content-Type: text/xml"
 http://localhost:8888/dptoaqservlet/dptoaqservlet

The servlet does not have a form. Do you see anything wrong with this?
 I see my message but the file size is 0.

Thanks in advance,

Mustafa

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on 2007-11-01