You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Fulvio Cavarretta (JIRA)" <ji...@apache.org> on 2019/05/20 15:59:00 UTC

[jira] [Created] (SSHD-920) Scp Subsystem does not support java.nio.file.FileSystem

Fulvio Cavarretta created SSHD-920:
--------------------------------------

             Summary: Scp Subsystem does not support java.nio.file.FileSystem
                 Key: SSHD-920
                 URL: https://issues.apache.org/jira/browse/SSHD-920
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Fulvio Cavarretta


If you plug a custom java.nio.file.FileSystem into Apache SSHD, some scp use case are not supported.
Specifically if you download from apache-sshd using wildcard like:

scp user1@apache-sshd:/home/user1/* /tmp

Command does not succed.

This because in 

*ScpFileOpener.getMatchingFilesToSend*

the class *DirectoryScanner*, used to retrieve list of files to be transferred, does not relies on java.nio.file.FileSystem plugged into SSHD, but just leverage on local file system.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)