1
Vote

extraction issue

description

Hi,

I am using SevenZipSharp to decompress a RAR archive and even though I set the "PreserveDirectoryStructure" flag to False, the folder(s) get extracted as empty folders.

For example, if this is my Archive File:

Archive.rar
|
--- Folder1 > File1, File2
|
--- Folder2 > FileA, FileB

and then I look at the extracted contents I have this:

Folder1
Folder2
File1
File2
FileA
FileB

So, it doesn't preserve the directory structure, but it still extracts empty folders. Why extract empty folders if you do not want to preserve the directory structure?? It doesn't make sense. Anyway, is there any additional flag or something I am missing so this doesn't happen?

Thanks in advance!

comments