[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Default PUT receiver with uploads

Posted on 2009-02-10
3
Medium Priority
?
344 Views
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.
0
Comment
Question by:campinam
  • 2
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 23598483
0
 

Author Comment

by:campinam
ID: 23598658
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!
0
 

Author Closing Comment

by:campinam
ID: 31544917
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...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

834 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