C# SaveAs 方法配置根路径

string savepath = Server.MapPath("filesPath");

//HttpContext.Request.MapPath("FilesPath") 

 HttpPostedFile.SaveAs(savepath);

原文地址:https://www.cnblogs.com/dekevin/p/2629803.html