Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use HTTP POST to send file to IIS 7.5 virtual directory

Is it possible to allow HTTP clients to USE HTTP POST (with Content-Type: multipart/form-data) to upload image files to an IIS 7.5 virtual directory without writing server-side code?

like image 717
jburgess Avatar asked Nov 22 '11 18:11

jburgess


2 Answers

Without server-side code, that is not possible. If HTTP POST is a requirement, you need to write code. Otherwise, configure an FTP site on your IIS installation.

If you really need HTTP, consider WebDav:

http://www.windowsnetworking.com/articles_tutorials/webdav-iis.html

http://learn.iis.net/page.aspx/350/installing-and-configuring-webdav-on-iis/

like image 53
Anders Marzi Tornblad Avatar answered Nov 19 '22 04:11

Anders Marzi Tornblad


If you enable public write access in IIS with WebDAV, you can upload files using HTTP PUT requests.

More info.

like image 31
SLaks Avatar answered Nov 19 '22 05:11

SLaks