Author: vikas-anand | Posted on: 10/15/2010 5:27:34 AM | Views : 260

Hi All,


I am trying to upload an image from one server to another server machine. To do this, I am using System.Net.WebClient class. In my local Web app, I use the following code:
System.Net.WebClient client = new WebClient();
client.UploadFile("Upload.aspx", "POST", "C:/images/some_img.gif")


It takes me to the page Upload.aspx. Now what should I do in order to get the posted file on Upload.aspx?


Please help!

...

Go to the complete details ...