I am looking for some example which can help me to understand how can i zip files in C# in parts i.e. if i have 20MB zip archive, I want to split the archive in 4 parts of 5MB each.
I have gone through Stack overflow question and then i even looked at DotNetZip library’s documentation but i couldn’t find any such example.
Could someone suggest? thanks,
What i am looking for that when i have those 4 files, I can extract them to the original files. So each individual part may not be a proper zip but all 4 parts should extract properly
You can try ICSharpCode to zip the files. Once the file is zip you can use
FileStreamto save the file in small chunks. I had done this in one of my project. If you require any help, let me know.