cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: XML Posting Question using Command Line cURL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 Jul 2003 00:04:08 +0200 (CEST)

On Tue, 15 Jul 2003 TMcGee_at_CallSolutions.com wrote:

> Trying to run this command line using cURL:
>
> curl -v -o testit.bat -F @<filename>;type=text/xml --trace-ascii trace.txt
> <website>

I think you used the -F wrong here. You should set a name for the field, thus
it should probably be similar to this:

  curl -v -o testit.bat -F file=@filename;type=text/xml <website>

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
Received on 2003-07-16