[ https://issues.apache.org/jira/browse/VFS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563142#action_12563142 ]
Mario Ivankovits commented on VFS-195: -------------------------------------- Hmmm.... I think the examples on our web-page [1] are rather self-explaining, aren't they? I had no chance to test this on a windows machine yet, but my try on linux with the latest VFS snapshot the following worked: FileObject fo = VFS.getManager().resolveFile("zip:file:///home/im/Downloads/commons-compress-draft.zip"); or FileObject fo = VFS.getManager().resolveFile("zip:file:///home/im/Downloads/commons-compress-draft.zip!/"); If you do not use VFS.getManager() you have to ensure you setup VFS correctly e.g. by adding all wanted providers. As always, please try the latest nightly build too. BTW: Please do not use JIRA as disuccsion platform. I am going to close this bug again and looking forward that we help you on the user list until we all conclude that this is a bug. Ciao, Mario [1] http://commons.apache.org/vfs/filesystems.html#Zip__Jar_and_Tar > Unable to get Zip file URL working on Windows machine > ----------------------------------------------------- > > Key: VFS-195 > URL: https://issues.apache.org/jira/browse/VFS-195 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 1.0 > Reporter: Rajiv Kumar > > Could not get the Zip file URL working on Windows machine? Tried following > formats. > zip:file:/C:/Temp/source/test.zip --- Invalid Absolute URI > zip:file:/C:/Temp/source/test.zip! --- Invalid Absolute URI > zip:file://C:/Temp/source/test.zip --- Invalid Absolute URI > zip:file:/C:/Temp/source/test.zip! -- Invalid Absolute URI > zip://file:/C:/Temp/source/test.zip -- > org.apache.commons.vfs.FileSystemException: Could not copy because it does > not exist. > zip:///C:/Temp/source/test.zip! - Could not copy because it does not exist. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.