111,126
社区成员
发帖
与我相关
我的任务
分享
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AppendHeader("Content-Disposition", "attachment;filename=" + Context.Server.UrlPathEncode(fileName));
Response.ContentEncoding = System.Text.Encoding.UTF8;
Response.TransmitFile(filePath);
Response.Flush();
Response.End();