Krystian Szczygielski
Krystian Szczygielski

Reputation: 91

Uploading files to IIS server

I just wanted to ask is it possible to upload files to IIS server? If it's possible please describe me how to do it, thanks. I've been using google since 1h and i found nothing.

Upvotes: 1

Views: 21186

Answers (2)

Babak Naffas
Babak Naffas

Reputation: 12561

If all you need is file upload to your web server, you could set up FTP on your server http://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-ftp-7-on-iis-7

If you are looking for a file upload capability for your web application, you can use the FileUpload control. The file would be POSTed to your page once you submit your form. The MSDN page has a an example of how to use the control and save the file on the server side.

Upvotes: 1

guiomie
guiomie

Reputation: 5148

  • Create a web application that has file upload capability
  • Host the web application in IIS.

Files uploaded will be dropped in your applications folder.

Take a look at for an example of file upload with WebApi: http://blogs.msdn.com/b/henrikn/archive/2012/03/01/file-upload-and-asp-net-web-api.aspx

Upvotes: 0

Related Questions