[ 
https://issues.apache.org/jira/browse/VFS-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680843#comment-17680843
 ] 

Hasan Diwan commented on VFS-831:
---------------------------------

Gary,
Your first comment asked for a "failing test", my response provided one. 

I then did a deeper dive into the issue, reporting my findings in my 3rd. 
comment. Now., you have ignored everything in my 3rd comment, other than the 
pom.xml file, which is, IMO, completely irrelevant to VFS. What I am concluding 
is that VFS' pom.xml is missing (at least 2) dependencies -- which I have added 
to my code -- and may have further issues. 

Lastly, the issue tracker linked to from 
[github](https://github.com/apache/commons-vfs) is the [one I've 
used](https://issues.apache.org/jira/browse/VFS).

> No such file or directory
> -------------------------
>
>                 Key: VFS-831
>                 URL: https://issues.apache.org/jira/browse/VFS-831
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>         Environment: OpenJDK 14 FreeBSD 13.1-RELEASE
>            Reporter: Hasan Diwan
>            Priority: Blocker
>         Attachments: id_ecdsa.pub
>
>
> % ls -l /var/tmp/reminders.json.xz
> -rw-r--r--  1 ec2-user  wheel  32 Jan 25 19:28 /var/tmp/reminders.json.xz
> % hostname
> FileContent content = 
> manager.resolveFile("/var/tmp/reminders.json.xz").getContent();
> throws an "org.apache.commons.vfs2.FileNotFoundException: Could not read from 
> "file:///var/tmp/reminders.json.xz" because it is not a file."
> When I try accessing it with "sftp", it gives:
> org.apache.commons.vfs2.FileSystemException: Could not find file with URI 
> "sftp://[email protected]//var/tmp/reminders.json.xz"; because it is a 
> relative path, and no base URI was provided.
> It gives the same if I eliminate the double slash in the URL as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to