Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-502

Cannot open a sFTP FileObject pointing on the root directory, create a local FS object instead

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:
      None
    • Environment:

      Linux (CentOS)

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ArnaudL Arnaud Linz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: