摘要:
利用TransmitFile方法,解决Response.BinaryWrite下载超过400mb的文件时导致Aspnet_wp.exe进程回收而无法成功下载的问题。 代码如下: Response.ContentType = "application/x-zip-compressed"; Response.AddHeader("Content-Disposition", "attachment;filename=z.zip"); string filename = Server.MapPath("DownLoad/aaa.zi 阅读全文
posted @ 2013-08-05 17:55
继续敷衍、空白的日子
阅读(2381)
评论(3)
推荐(3)

浙公网安备 33010602011771号