//Specify the file name to be uploaded string file = FileUpload1.FileName; //Put the file into specified location file = "//UploadFolder/" + file; //Get the path string path = Server.MapPath(".") + file; //Save the uploaded file FileUpload1.PostedFile.SaveAs(path);