We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose extract protected rar file

if null/no password is given while extracting to a password protected .rar file, it throws exception. But if wrong password is given, it does not throw exception, nor any indication. It works fine while extracting zip file. Does it not work for .rar file?
Further investigation showed that it works for zip as in that case Archive.ExtractToDirectory throws exception ‘InvalidDataException : Wrong password has been supplied.’. But in case of RarArchive.ExtractToDirectory does not throw this exception at all! Can this be corrected on priority?
Also can it be supported in gzip, sevenzip and other formats?

@Sarvesh_Renghe We will investigate and probably can provide proper exceptions in the next release.

Tentatively when will that be released? Hope you will take care of that in all other file types also, as applicable.

In version 22.9, maybe partly, or in 22.10

The problem with rar archives is resolved in version 22.9.