CodePlex DotNetZip
http://dotnetzip.codeplex.com/[
^] is an easy-to-use, FAST, FREE class library and toolset for manipulating compression and split using .NET framework. Here is the sample code:
int SegmentsCreated ;
using (ZipFile zip = new ZipFile())
{
zip.UseUnicode= true;
zip.AddDirectory(@"MyDocuments\ProjectX");
zip.Comment = "This zip was created at " + System.DateTime.Now.ToString("G") ;
zip.MaxOutputSegmentSize = 100*1024 ;
zip.Save("MyFiles.zip");
SegmentsCreated = zip.NumberOfSegmentsForMostRecentSave ;
}
if SegmentsCreated comes back as 5, then you have the following files, each not more than 100kb in size.
•MyFiles.zip
•MyFiles.z01
•MyFiles.z02
•MyFiles.z03
•MyFiles.z04