PHP中文网2016-10-21 14:08:33
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; //保存文件 context.Request.Files[0].SaveAs(context.Server.MapPath("~/1/" + context.Request.Files[0].FileName)); context.Response.Write("Hello World"); }