You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arnaud Linz (JIRA)" <ji...@apache.org> on 2015/09/28 11:01:04 UTC

[jira] [Resolved] (VFS-502) Cannot open a sFTP FileObject pointing on the root directory, create a local FS object instead

     [ https://issues.apache.org/jira/browse/VFS-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Linz resolved VFS-502.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 2.1

Could not reproduce the issue in v2.1

> Cannot open a sFTP FileObject pointing on  the root directory, create a local FS object instead
> -----------------------------------------------------------------------------------------------
>
>                 Key: VFS-502
>                 URL: https://issues.apache.org/jira/browse/VFS-502
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Linux (CentOS)
>            Reporter: Arnaud Linz
>             Fix For: 2.1
>
>
> Creating a FileObject to uri "sftp://@myhost/", with setUserDirIsRoot to true, gives access to the local file system and not the sftp server...
> Accessing file "/foo/bar" with resolveFile(rootFileObject, "/foo/bar")  with rootFileObject created from  the "sftp://@myhost/" uri returns a local fs object, where as accessing file "bar" from "sftp://@myhost/foo" returns the remote object.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)