Server.MapPath("~/Files")returns the absolute path based on the folder relative to your application. The host ~/tells ASP.Net to look at the root of your application.
To use a folder outside the application:
if (FileUpload1.HasFile)
{
string fileName = Path.Combine(@"E:\Project\Folders", FileUpload1.FileName);
FileUpload1.SaveAs(fileName);
}
Of course, you will not hardcode the path in the production application, but this should save the file using the absolute path you described.
As for the search for the file after saving it (in the comments):
if (FileUpload1.HasFile)
{
string fileName = Path.Combine(@"E:\Project\Folders", FileUpload1.FileName);
FileUpload1.SaveAs(fileName);
FileInfo fileToDownload = new FileInfo( filename );
if (fileToDownload.Exists){
Process.Start(fileToDownload.FullName);
}
else {
MessageBox("File Not Saved!");
return;
}
}