mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Invalid Rar Header: 3 #179
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 @SkyLeite on GitHub (May 23, 2017).
Hey, could I get a hand please? I'm trying to extract this one rar file, but when opening it with
RarArchive.Open()I get the exceptionInvalid Rar Header: 3. I can extract it no problem with both WinRAR and 7Zip, so I believe there's something I can do to be able to extract this file. Any ideas?Code:
File: patch.zip
@adamhathcock commented on GitHub (May 23, 2017):
Might be a RAR5 file. The format changed and I haven't implemented it.
@SkyLeite commented on GitHub (May 23, 2017):
Ah, ok. Any ETAs on when that'll be implemented?
@adamhathcock commented on GitHub (May 23, 2017):
Oh wait, you're giving a zip file and using
RarArchive.Openon it? That's not going to work.@adamhathcock commented on GitHub (May 23, 2017):
No, no ETA
@SkyLeite commented on GitHub (May 23, 2017):
Oh, you're right. I didn't realize it was a zip and not a rar. Maybe make that exception a bit clearer in the future? Either way, thanks for the help :)
@adamhathcock commented on GitHub (May 23, 2017):
Well, it's plenty clear. It was an invalid rar header because it's a zip file :)
@SkyLeite commented on GitHub (May 23, 2017):
Fair enough