简体   繁体   中英

How to zip / unzip folders in VS2013?

I'm trying to make an app which sends folders to another app using sockets, to deal this maybe zipping / unzipping folders would be the best alternative.

How do I to zip / unzip folders in VS2013, please?

Thanks in advance!

You could use a library like zziplib or libarchive to zip your data prior to sending, and unzip on the receiving end. Both of these libraries support the zip format.

If you're wanting to zip / unzip folders in Visual Studio (during the build process) then one solution could be to use 7za.exe and a pre- or post- processor command. You said "in VS2013" but maybe you meant during run time? If that's the case then I agree with @Reed.

Good luck.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM