饼子天空  
个人程序Blogs

2013年5月17日

摘要: public void meth1() { /* 微软为Response对象提供了一个新的方法TransmitFile来解决使用Response.BinaryWrite 下载超过400mb的文件时导致Aspnet_wp.exe进程回收而无法成功下载的问题。 代码如下: */ Response.ContentType = "application/x-zip-compressed"; Response.AddHeader("Content-Disposition", "attachment;filename=z.zip"); strin 阅读全文
posted @ 2013-05-17 16:08 饼子天空 阅读(253) 评论(0) 推荐(0) 编辑