Default PUT receiver with uploads

Posted on 2009-02-10
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 page and it won't work with Linux servers as destination.
Question by:campinam
    LVL 92

    Accepted Solution


    Author Comment

    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!

    Author Closing Comment

    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...

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now