1

I want to 7zip the directory and creates parts of lets say 100mb each with names test001.7zip , test002.7zip , ... and so on.

string sevenzip = System.Configuration.ConfigurationManager.AppSettings["7zippath"].ToString();
SevenZip.SevenZipCompressor.SetLibraryPath(sevenzip);
SevenZip.SevenZipCompressor Compress = new SevenZipCompressor(sFilePath);
Compress.ArchiveFormat = OutArchiveFormat.SevenZip;
Compress.CompressDirectory(sFilePath, "Zip.7zip");

this code creates the 7zip file of the directory successfully, but it doesnot create file in parts, I want to create the file in parts because I have to upload this file in parts of 100mb each ?

Sandy
  • 10,930
  • 26
  • 73
  • 118
Arun Kumar
  • 909
  • 12
  • 33

2 Answers2

0

Your answer must be resting here and here.

Hope it helps.

Sandy
  • 10,930
  • 26
  • 73
  • 118
0

Have you looked at this thread? It seems to be a piece of cake with DotNetZip...

Community
  • 1
  • 1
Timothée Bourguignon
  • 2,060
  • 3
  • 22
  • 38