mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
exception question #525
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jun 23, 2022).
Hi
When trying to open some RAR files, I get more exceptions and would like to ask what they mean. Are it maybe corrupted archives too?
WinRAR gives error messages too on those files.
SharpCompress.Common.InvalidFormatException
Message: Unknown Rar Header: (followed by a number)
System.InvalidOperationException
Message: Cannot determine compressed stream type. Supported Archive Formats: Zip, GZip, Tar, Rar, 7Zip
Is there a way I can fix RAR files using a tool? Or is the only way to get rid off those exceptions by extracting the content files that still can be extracted from the RAR file and then make a new RAR file with the extracted files?
Thank you!