Quote from: dev_cw at Aug 07, 2008, 09:47 PM
You can thank microsoft for this one: http://support.microsoft.com/kb/952249
CAUSE
This issue occurs in special .zip files. If the .zip file contains folder items that do not have the directory flag set in the external file attributes field, the computer treats the items as files that are 0 bytes. Therefore, the issue occurs.
In Windows Vista SP1 and in Windows Server 2008, the computer parses files first. The 0-byte files are created before the folders. This behavior makes the extraction fail because the folder structure cannot be created.
Good old Microsoft. "Special zip files" indeed. The best part is that installing Vista SP1 actually makes the problem worse!!
Their explanation is also somewhat odd. First, you’d think that no decent OS would let you create a folder without a directory flag set and Vista is so paranoid that I’m sure it’s not about to let some program change the directory flag. Second, how does the zip process end up creating two separate objects from that one folder? Finally, MS gives you no direct way of setting the troublesome directory flag.
I see there’s a hotfix available from MS, but it would probably be better to just sanitize the zip file.