Replies: 4 comments
-
There are a few examples of using FastZip with filters on the Wiki page at https://github.com/icsharpcode/SharpZipLib/wiki/FastZip#-using-the-filefilter-parameter. The string filter parameters on As it stands now, FastZip unfortunately doesn't directly support creation of zip files with AES encryption - there is some discussion about that in #454 and #380 (you can however create AES encrypted zips using |
Beta Was this translation helpful? Give feedback.
-
Solved my issue with exclusions right after, |
Beta Was this translation helpful? Give feedback.
-
If you're adding entries to ZipOutputStream and want to AES encrypt them, you can set the |
Beta Was this translation helpful? Give feedback.
-
FastZip has now been extended with a new |
Beta Was this translation helpful? Give feedback.
-
First, congratulations for the great work,
Second, I have 2 questions which want to ask here:
Can you please provide a sample on using your NameFilter for creating a zip?
Let's imagine we want to Zip a whole folder containing some codes, I want to
exclude any folder named "bin" and "obj" and their contents.
I had a successful build without using any filters, not too good with regex, and couldn't find examples about this topic for your product.
My used code:
In addition maybe an extra optional parameter named "exclude" to be implemented on FastZip, can be helpful.
My second question, which I think could be an easier one, and guess you already implemented it is: I also want to use AES 256 as the encryption of this zip file, how/where can I tell the SharpZipLib to use it as the encryption algorithm?
Regards.
Beta Was this translation helpful? Give feedback.
All reactions