I am trying to upload a logfile to my webserver. Is this the correct syntax?
__________________________________________________ _______
using System.Net
using System.Web
private string path2 = "c:\\documents\\logfile.txt";
WebClient fileUploader= new WebClient();
fileUploader.UploadFile("http://www.domain.com/files/", "POST", path2 );
__________________________________________________ ______
my webserver doesnt have any username or password.
it doesnt seem to be working... any suggestions?
Comment