I recently had a requirement to allow users to select a group of files and then dynamically create a zip file on the server of the selected files that they could then download. After some searching I came across two solutions to dynamically create zip files:
I think both are quality solutions, but I ended up using DotNetZip as I found it easier to implement and use. Also, I liked the amount of recent activity on CodePlex and the quick response I received from the project's coordinator on a question I had.
Check out this demo of the end product. To put together this example I brought together the aforementioned DotNetZip and some work by the man himself Matt Berseth. You can download the code by clicking the link below:
FileZipper.zip