cURL / Mailing Lists / curl-library / Single Mail


RE: please I need help

From: Félix González <>
Date: Wed, 27 Apr 2005 12:31:01 +0200


The exact comand line :

curl -v -H "Content-type: text/xml" -d @ASN.xml

and in my code I´ve tested many options, I use Delphi:

   aCurl.InputFile:=FSOAP; // FSOAP it´s ASN.xml



aCurl.FormData.Add('', FSOAP, 'text/html',POST_TYPE_FILEDATA);

 aCurl.FormData.Add('', XML, 'text/plain',POST_TYPE_PLAIN);

//XML is a string with the content of ASN.xml


Thank you very much

-----Mensaje original-----
[] En nombre de Daniel Stenberg
Enviado el: miércoles, 27 de abril de 2005 12:10
Para: libcurl development
Asunto: Re: please I need help

On Wed, 27 Apr 2005, Félix González wrote:

> I´m desperado. I´ve read the documentation, looking in examples but I´m
> capable to send a file using POST in http, using command line curl –d
> fine. But using libcurl I can´t send the file. In the server there are any

> form, so where can I sent the file?, how works curl –d @file url?. The
> server doesn’t accept put or upload method.

How do you send the file with the curl command line?

Show us your source code using libcurl that tries to do as the command line

  Commercial curl and libcurl Technical Support:
Received on 2005-04-27