Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-134

ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.5.0
    • None
    • None

    Description

      Currently one has to create a custom FileSystemView so SFTP works if one wishes something other than pointing to the native file system using the in built NativeFileSystemView. Unfrotunately if one also wishes to install SCP one can use the provided ScpCommand/ScpCommandFactory combination however they ignore any set FileSystemView and assume native file system stuff. Ideally it would be great if it would be possible to pass the same FSView to SshdServer and the ScpCommandFactory, so both work using the same filesystem. This would make both option SFTP and SCP instantly and painlessly available

      util.DirectoryScanner is also used during the processing of a scp request and it too is hardcoded to work from the native file system (java.io.File).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mp1 Miroslav Pokorny
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: