We help IT Professionals succeed at work.

Default PUT receiver with uploads

Medium Priority
Last Modified: 2013-11-30
I am trying to "PUT" a file (upload) to a web directory, where my destination web is located on a Linux web server. This does work on IIS, but on Linux it won't. The upload is a "PUT", and it's an HTTP upload, not FTP. Upload returns error 405 (method not allowed), which obviously refers to the PUT method not being allowed. However, the dir is write enabled for everyone. So the question is what settings do I need on the Linux server, to allow the "PUT" method on my directory?

When "PUT"-ting files, destination makes use of a receiver app on server. In my case, there is no receiver. IIS has a default receiver that puts the file, although MIME encoded, which I don't mind. Linux should also have such a default receiver, sounds like a basic feature - but I have no idea how to set this up.

I use this C# code: wc.UploadFile(dest, "PUT", source); where wc is an instance of the WebClient class in .Net, dest is path on server and source denotes the local file to be uploaded. Again, this upload works on IIS where the dir is write enabled Such code can be called fron an asp.net page and it won't work with Linux servers as destination.
Watch Question

Java Developer
Top Expert 2010

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Wow, that's super !  Thanks a lot.

Now, I'll try tomorrow to figure things out. That's going to be great pain, as I don't know Linux. If I get stuck and no way out, may I come back with a question? Thank you again!


Truly the answer to my question, only now I need to make use of it where I don't know Linux, so there still is some work ahead...
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.