Zip subfolders using ZipOutputStream

后端 未结 4 1301
粉色の甜心
粉色の甜心 2021-01-05 23:54

ZipOutputStream only zips files in a folder. I want to zip subfolders also. How can I achieve this?

4条回答
  •  北海茫月
    2021-01-06 00:21

    This article by C# MVP Peter Bromberg may solve your problem: Zip / Unzip folders and files with C#. It has complete code and a sample project.

提交回复
热议问题