cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Curl -F didn't upload file but return the form itself

From: xi chum <xi_chum_at_hotmail.com>
Date: Thu, 06 Apr 2006 20:47:49 +1000

 

 

Doh!!!

 

 

Thanks Daniel,

Xi Chum. 


From:  Daniel Stenberg <daniel@haxx.se>
Reply-To:  the curl tool <curl-users@cool.haxx.se>
To:  the curl tool <curl-users@cool.haxx.se>
Subject:  Re: Curl -F didn't upload file but return the form itself
Date:  Wed, 5 Apr 2006 23:27:31 +0200 (CEST)
>On Thu, 6 Apr 2006, xi chum wrote:
>
>>/usr/bin/curl -F "xmlfile=@101.xml"
>>http://localhost:8080/test/upload.html
>
>I would say that it is highly unlikely that you send any upload to a
>HTML file. Normally you send it to some kind of script/CGI that
>receives it.
>
>That HTML file most probably contains a <form> and that has an
>action attribute pointing out the correct URL you actually want for
>this.
>
>--
>  Commercial curl and libcurl Technical Support:
>http://haxx.se/curl.html
Received on 2006-04-06

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET