MINA SSHD
  1. MINA SSHD
  2. SSHD-82

Integrate with MINA FtpServer file system view

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.5.0
    • Labels:
      None

      Description

      The FtpServer project inclues a file system view concept which allows 'virtual file systems' . This is especially useful when Ftpserver is embedded in another applicaiton since it allows a view of directories and data which is specific to the hosting application.

        Issue Links

          Activity

          Hide
          Matthew Schulze added a comment -

          Changing the interface name to listFiles from listSshFiles causes an unfortunate conflict with the FtpFile interface for the FTP Server, making it impossible to implement both interfaces on the same file object. It would be wonderful if the function name could be altered to avoid this conflict.

          Show
          Matthew Schulze added a comment - Changing the interface name to listFiles from listSshFiles causes an unfortunate conflict with the FtpFile interface for the FTP Server, making it impossible to implement both interfaces on the same file object. It would be wonderful if the function name could be altered to avoid this conflict.
          Hide
          Guillaume Nodet added a comment -

          Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
          M sshd-core/src/main/java/org/apache/sshd/SshServer.java
          A sshd-core/src/main/java/org/apache/sshd/server/FileSystemAware.java
          A sshd-core/src/main/java/org/apache/sshd/server/FileSystemFactory.java
          A sshd-core/src/main/java/org/apache/sshd/server/FileSystemView.java
          M sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java
          A sshd-core/src/main/java/org/apache/sshd/server/SshFile.java
          M sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java
          A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NameEqualsFileFilter.java
          A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemFactory.java
          A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemView.java
          A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeSshFile.java
          M sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
          M sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
          Committed r1027586

          Show
          Guillaume Nodet added a comment - Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ... M sshd-core/src/main/java/org/apache/sshd/SshServer.java A sshd-core/src/main/java/org/apache/sshd/server/FileSystemAware.java A sshd-core/src/main/java/org/apache/sshd/server/FileSystemFactory.java A sshd-core/src/main/java/org/apache/sshd/server/FileSystemView.java M sshd-core/src/main/java/org/apache/sshd/server/ServerFactoryManager.java A sshd-core/src/main/java/org/apache/sshd/server/SshFile.java M sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NameEqualsFileFilter.java A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemFactory.java A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeFileSystemView.java A sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeSshFile.java M sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java M sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java Committed r1027586
          Hide
          Matthew Schulze added a comment -

          Attached is a patch that migrates a version of the NativeFileSystem from the FTP project into the SSH SFTP server and provides hooks for virtual file system usage. Additional patch features include:

          • Custom SFTP server description string
          • Optional per-user open file handle cap
          Show
          Matthew Schulze added a comment - Attached is a patch that migrates a version of the NativeFileSystem from the FTP project into the SSH SFTP server and provides hooks for virtual file system usage. Additional patch features include: Custom SFTP server description string Optional per-user open file handle cap

            People

            • Assignee:
              Guillaume Nodet
              Reporter:
              Richard Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development