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: Daniel Stenberg <daniel_at_haxx.se>
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-05

These mail archives are generated by hypermail.

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

File upload with ASP.NET