Uploading files to file server
问题 Using the link below, I wrote a code for my application. I am not able to get it right though, Please refer the link and help me ot with it... Uploading files to file server using webclient class The following is my code:- protected void Button1_Click(object sender, EventArgs e) { filePath = FileUpload1.FileName; try { WebClient client = new WebClient(); NetworkCredential nc = new NetworkCredential(uName, password); Uri addy = new Uri("\\\\192.168.1.3\\upload\\"); client.Credentials = nc;