UNZIP Community API not unzipping subdirectories #173
Comments
Hi SCrid2000, Thanks! |
It's the BFB resource folder lol. Here's a full directory listing. Built for BlackBerry Brand Guidelines.pdf Built for BlackBerry Icon Overlay If you want a directory listing that doesn't get the formatting thrown off by Github, https://dl.dropboxusercontent.com/u/9610464/Temp/files.txt |
@bryanhiggins any thoughts? |
Update: problem seems to occur with any zip that has sub directories. Just made a zip with a two text files, one at the root and the other in a folder. Folder was extracted empty, file in root was extracted. |
This LOOKS like an issue whereby the directory structure is not created properly The directory needs to exist before a file can be extracted to it Basically at the start of each extract you would need to check that the directory is present and if missing create it (mkdir) This can get complicated but dirname simplifies the issue |
Not sure if this is a known limitation or not, but on 10.1 the UNZIP API is is only unzipping a file from the root of the .zip, and not the subfolders.
OS 10.1
The text was updated successfully, but these errors were encountered: