Curl (*nix) upload file to ASP.NET

Posted by WedTM on Stack Overflow See other posts from Stack Overflow or by WedTM
Published on 2010-04-23T22:58:28Z Indexed on 2010/04/23 23:03 UTC
Read the original article Hit count: 272

Filed under:
|
|

I have an old redhat 8 box that I need to pragmatically send files to my webserver from. Disregarding the security issues with this, I've come up with the following way.

curl -F file=@<filename> http://webhost/reciever.aspx

The problem is, no matter what I try, the ASP.NET page is not accepting the file. What am I doing wrong?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about curl