Questions tagged [fastzip]

7 questions
4
votes
2 answers

Using FastZip to zip a directory, and only include certain file types ( file filtering)

I wonder whether there is a way to use fastzip to zip a directory, but include only certain file types. I am thinking about using something like: public static void ZipFiles(string DirectoryToZip, string ZipedFile, string fileFilter, string…
Graviton
  • 81,782
  • 146
  • 424
  • 602
3
votes
2 answers

SharpZipLib's FastZip doesn't unzip directories on Mac

I'm using the following code on Mac using Mono to unzip a zip file. The zip file contains entries under directories (for example foo/bar.txt). However, in the unzipped directory, instead of creating a directory foo with a file bar.txt, FastZip…
sohum
  • 3,207
  • 2
  • 39
  • 63
1
vote
1 answer

How to use FastZip compressing files and folders together?

I try to use file filter and directory filter to choose specified files and folders , but the files in sub folder are affected by file filter . Example : file filter : @"//1.txt$;2.txt$" directory filter : @"//sub$" Only 1.txt & 2.txt were…
Arthur
  • 23
  • 6
0
votes
1 answer

sharpziplib FastZip extract rar error cannot find central directory c#

i want to extract RAR file using FastZip, here is my code : FastZip fastZip = new FastZip(); fastZip.CreateEmptyDirectories = true; if (password != "") { fastZip.Password =…
Fath Bakri
  • 161
  • 1
  • 12
0
votes
1 answer

Zip my folder but do not overwrite existing one in C#

I am using third party FastZip to zip my folder, when i zip new folder with already existing file let say abc.zip, Fast Zip overwite this old abc.zip, delete old files and zip only new files. Any one knows the solution. EDIT-> I managed to do that…
abidkhan303
  • 1,761
  • 3
  • 18
  • 31
0
votes
2 answers

FastZip file name change

is there a way to rename a file that you have extracted using FastZip? Or do I have to rename it manually using File?
Vasa Serafin
  • 306
  • 5
  • 18
0
votes
1 answer

Does ICSharpCode.SharpZipLib's FastZip supports setting compression level?

It seems fast, what could be its compression level? Can it be changed? I'm using FastZip so I can show a progressbar. I tried Peter Bromberg's sample code first, setting the compression level is possible, but don't have a sample code for progress…
Hao
  • 8,047
  • 18
  • 63
  • 92