I have a zip file (let’s say ‘inside.zip’) inside another zip file (let’s say ‘outside.zip’). I am using Apache’s common-vfs2 Java library and providing a uri like zip:file:///path/to/outside.zip to open the zip file. However, it cannot open the zip file that exists inside outside.zip e.g. it says its a file not a folder and cannot find any children in zip:file:///path/to/outside.zip!/inside.zip. What’s the best way to use the library (I am looking for the right uri) so I can open the zip file inside another zip file?
I have a zip file (let’s say ‘inside.zip’) inside another zip file (let’s say
Share
After spending a day, figuring this out, this is the correct URI:
zip:zip:/path/to/outer.zip!/inner.zip!/All of the following fails surprisingly:
zip:zip:/path/to/outer.zip!/inner.zipzip:zip:/path/to/outer.zip!/inner.zip!zip:/path/to/outer.zip!/inner.zip!/Is there an RFC or a standard grammer for this that I can lookup to avoid nasty bugs like these?