[
https://issues.apache.org/jira/browse/VFS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563494#action_12563494
]
Sebb commented on VFS-195:
--------------------------
Surely
zip:///home/im/Downloads/10387.zip!/
is
zip: arch-file-uri
where arch-file-uri=///home/im/Downloads/10387.zip!/ - and where the file://
has been omitted.
It also looks as though the "[! absolute-path]" part of the syntax is *not*
optional.
It looks to me as though the syntax should be:
zip: arch-file-uri !absolute-path
(similarly for tgz etc)
The same probably applies to bzip2 and gzip and mime.
The tmp: and res: syntaxes do not agree with the examples.
Seems to me that all the examples should be added as unit tests to
verify/clarify the syntax.
> 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.