HttpContext.Current.Server.MapPath("~/") //返回当前文件的上级目录 HttpContext.Current.Server.MapPath("")//返回当前目录