Hi,
We are facing some issues with file unzipping. Following are the two scenarios that detail out where we are facing problem.
Scenario 1
There's a zip file that we received from another team which uses java.util.zip (Java 5) for zipping process. Now while using Xceed Zip Compression Library v4.1 to unzip the file, we found the following details were getting logged during SkippingFileEvent for a folder which was empty.
xAttributes = xfaNone
xMethod = xcmDeflated
bEncrypted = False
xReason = xsrAccessDenied
For all the other files (not the folders except the one mentioned above) xsrIncluded message was logged during UnzipPreprocessingFileEvent. And the end result of this process was xcdError.xerFilesSkipped.
We would like to know what does the above mentioned set of attribute combination signify? Why does an empty folder throw an error for FilesSkipped?
Scenario 2
We created a zip file using Winzip v8.0 with couple empty folders. The zipping did not throw any errors. Now while using Xceed Zip Compression Library v4.1 to unzip the file, we found the following details were getting logged for all the folders (not for the files - files had xsrIncluded message with them).
xAttributes = xfaFolder
xMethod = xcmStored
bEncrypted = False
xReason = xsrExcludedAttributes
These details were first logged during UnzipPreprocessingFileEvent and then during SkippingFileEvent. However the final result of it was successful, that is giving us xcdError.xerSuccess
We'd like to know why are the folders having bExcluded as true and hence logging the above details and if its an error, how can we rectify it? Also, does the above mentioned set of attribute combination signify anything in particular?
Any suggestions or pointers are welcome. Thanks in advance for your help.