Getting error 405 method not allowed when trying to "POST" a .txt file to a directory on my IIS 6 server with .Net webclient
Posted on 2006-11-08
I need to be able to download and upload some text files to a directory on our IIS web server. I can't use ftp because of firewall restriction so it has to be http. I can connect and download the files using the .Net webclient.DownloadFile() just fine. But when I try to use the webclient.UploadFile() I get the "(405) method not allowed" error. The write permissions are enabled on the website. Is there some other permissions or a configuration change that I need to make on the website?