![](/img/trans.png)
[英]sharpziplib FastZip extract rar error cannot find central directory c#
我想使用 FastZip 提取 RAR 文件,這是我的代碼: 但我總是得到錯誤: RAR 文件沒問題,我用 WinRAR 打開它沒有錯誤,那么如何使用帶有 FastZip 或不使用 FastZip 的 sharpziplib 提取 RAR 文件? 注意:我不想使用 SharpCompress,因 ...
[英]sharpziplib FastZip extract rar error cannot find central directory c#
我想使用 FastZip 提取 RAR 文件,這是我的代碼: 但我總是得到錯誤: RAR 文件沒問題,我用 WinRAR 打開它沒有錯誤,那么如何使用帶有 FastZip 或不使用 FastZip 的 sharpziplib 提取 RAR 文件? 注意:我不想使用 SharpCompress,因 ...
[英]How to use FastZip compressing files and folders together?
我嘗試使用文件過濾器和目錄過濾器來選擇指定的文件和文件夾,但是子文件夾中的文件受文件過濾器的影響。 例子 : 文件過濾器: @"//1.txt$;2.txt$" 目錄過濾器: @"//sub$" 只有1.txt & 2.txt在被壓縮sub文件夾,我希望所有的文件sub壓縮文件夾。 ...
[英]Zip my folder but do not overwrite existing one in C#
我正在使用第三方FastZip壓縮我的文件夾,當我用已經存在的文件壓縮新文件夾(例如abc.zip)時,Fast Zip覆蓋了這個舊的abc.zip,刪除了舊文件並僅壓縮了新文件。 任何人都知道解決方案。 編輯->我設法自己做到了,這是一個解決方案,如果有人需要的話。 ...
[英]SharpZipLib's FastZip doesn't unzip directories on Mac
我在Mac上使用以下代碼使用Mono來解壓縮zip文件。 zip文件包含目錄下的條目(例如foo/bar.txt )。 但是,在解壓縮目錄中, bar.txt不是使用文件bar.txt創建目錄foo ,而是創建文件foo\\bar.txt 。 我該如何解決這個問題? 這會在path ...
[英]Using FastZip to zip a directory, and only include certain file types ( file filtering)
我想知道是否有一種方法可以使用fastzip壓縮目錄,但只包含某些文件類型。 我正在考慮使用類似的東西: 唯一的問題是fileFilter是在string給出的,而不是在arrays 。 有任何想法嗎? ...
[英]Does ICSharpCode.SharpZipLib's FastZip supports setting compression level?
看起來很快,其壓縮級別可能是多少? 可以更改嗎? 我正在使用FastZip,所以我可以顯示進度條。 我首先嘗試了Peter Bromberg的示例代碼,可以設置壓縮級別,但是沒有用於進度事件的示例代碼 ...