Content-Disposition", "attachment;filename=z.zip"); string filename = Server.MapPath("DownLoad/aaa.zip"); Response.TransmitFile
Response.ContentEncoding = System.Text.Encoding.GetEncoding(“gb2312”); //获取或设置输出流的 HTTP 字符集 15 Response.TransmitFile
6: protected override void WriteFile(HttpResponseBase response) 7: { 8: response.TransmitFile
string filename = Server.MapPath("~/DownLoad/IE8/IE8-WindowsXP-x86-CHS.exe"); Response.TransmitFile
是否使用不安全的序列化库(BinaryFormatter、SoapFormatter)任意文件读取File.ReadAllBytes(),File.ReadAllText(),Response.WriteFile(),Response.TransmitFile