So far I know how to upload a file to a folder within my solution using the code below.
string root = HttpContext.Current.Server.MapPath("~/upload");
How can I save the file to a different location that is not within a solution i.e to a server location that is mapped to my pc.
string root = HttpContext.Current.Server.MapPath("/Z:/UploadFolder"); I have tried this but its not saving to the server so where I am going wrong?