C# SaveAs 方法配置根路径
string savepath = Server.MapPath("filesPath");
//HttpContext.Request.MapPath("FilesPath")
HttpPostedFile.SaveAs(savepath);
string savepath = Server.MapPath("filesPath");
//HttpContext.Request.MapPath("FilesPath")
HttpPostedFile.SaveAs(savepath);