I'm using C#, WinForm, This code.
I have modified the XML file and uploaded it to the web server, but the XML file is missing from the web server.
but debugging is good working and WebClient Download works well.
using (WebClient client = new WebClient())
{
client.Credentials = new NetworkCredential("id", "password");
client.UploadFile("http://abcdef.com/test.xml", @"C:\test.xml");
}