string savepath = Server.MapPath("filesPath");
//HttpContext.Request.MapPath("FilesPath")
HttpPostedFile.SaveAs(savepath);
string savepath = Server.MapPath("filesPath");
//HttpContext.Request.MapPath("FilesPath")
HttpPostedFile.SaveAs(savepath);
转载于:https://www.cnblogs.com/dekevin/archive/2012/08/09/2629803.html