jburgess
jburgess

Reputation: 358

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?

Upvotes: 6

Views: 19241

Answers (3)

Anders Marzi Tornblad
Anders Marzi Tornblad

Reputation: 19305

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/

Upvotes: 6

SLaks
SLaks

Reputation: 887489

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

More info.

Upvotes: 3

paulsm4
paulsm4

Reputation: 121699

There are lots of different WAYS you can handle this on the server side ... but all of them involve writing some kind of "code".

SUGGESTION: Maybe a little asp.net script might be the ticket?

http://msdn.microsoft.com/en-us/library/aa479405.aspx

Upvotes: 0

Related Questions