I need to zip multiple files using a button in ASP.Net MVC3
Your answers will be very much appreciated.
Thank you!
Use the dotnetzip Library (Open source)
Simple code:
using (ZipFile zip = new ZipFile())
{
zip.AddFile("ReadMe.txt");
zip.AddFile("Resume.doc");
zip.AddFile("Portrait.png");
zip.Save("Package.zip");
}