如何动态压缩文件并流式传输到Response.Output [英] How do I zip files on the fly and stream to Response.Output
本文介绍了如何动态压缩文件并流式传输到Response.Output的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何动态压缩多个文件并将其流式传输到Response.Output?
请帮助我.
How do I zip multiple files on the fly and stream to Response.Output?
Please help me.
推荐答案
我也使用SharpZipLib
http: //devpinoy.org/blogs/keithrull/archive/2008/01/25/how-to-create-zip-files-in-c-with-sharpziplib-ziplib.aspx [
I used SharpZipLib for the same
http://devpinoy.org/blogs/keithrull/archive/2008/01/25/how-to-create-zip-files-in-c-with-sharpziplib-ziplib.aspx[^]
在此处查看此线程: ^ ].
该库也可能使您感兴趣: http://dotnetzip.codeplex.com/ [
Have a look at this thread here: http://stackoverflow.com/questions/1074800/how-do-i-zip-on-the-fly-and-stream-to-response-output-in-real-time[^].
This library might also interest you: http://dotnetzip.codeplex.com/[^].
Regards,
Manfred
这篇关于如何动态压缩文件并流式传输到Response.Output的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文