开发者

How to create empty Zip folder in asp.net1.1

开发者 https://www.devze.com 2023-02-06 10:48 出处:网络
开发者_开发问答I\'am doing upload functionality in ASP.NET 1.1. I want to create one empty zip folder on given path.

开发者_开发问答I'am doing upload functionality in ASP.NET 1.1. I want to create one empty zip folder on given path.

So, how to create an empty zip folder?

Later on I will save files in that folder. I do not want to use any third party component.


There are a couple of third-party components that do this. Writing one from scratch would be a big effort, I do not recommend it. Why the requirement not to use an existing library? There are some suggested in the answers for Open-source zip library for .NET?.

If all you really want is an empty zip file, simply add one to your solution and copy it into place as necessary.

0

精彩评论

暂无评论...
验证码 换一张
取 消