Anybody can help me how to upload a file using C#. I tried using System.Net.WebClient.UploadFile class. But i couldn't upload it, bcoz it tells problem that remote server returned an error. Method not allowed. Can anybody help in this regard..?