You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Miroslav Pokorny (JIRA)" <ji...@apache.org> on 2011/06/27 04:26:47 UTC

[jira] [Created] (SSHD-134) ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.

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

                 Key: SSHD-134
                 URL: https://issues.apache.org/jira/browse/SSHD-134
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 0.5.0
            Reporter: Miroslav Pokorny


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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SSHD-134) ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SSHD-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SSHD-134.
----------------------------------

    Resolution: Duplicate
    
> ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.
> --------------------------------------------------------------------------------------
>
>                 Key: SSHD-134
>                 URL: https://issues.apache.org/jira/browse/SSHD-134
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Miroslav Pokorny
>
> 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).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SSHD-134) ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SSHD-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058263#comment-13058263 ] 

Guillaume Nodet commented on SSHD-134:
--------------------------------------

Do you think you could try to write a patch for this enhancement ?

> ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.
> --------------------------------------------------------------------------------------
>
>                 Key: SSHD-134
>                 URL: https://issues.apache.org/jira/browse/SSHD-134
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Miroslav Pokorny
>
> 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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SSHD-134) ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.

Posted by "Miroslav Pokorny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SSHD-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058483#comment-13058483 ] 

Miroslav Pokorny commented on SSHD-134:
---------------------------------------

Willtry and find sometime..




-- 
mP


> ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.
> --------------------------------------------------------------------------------------
>
>                 Key: SSHD-134
>                 URL: https://issues.apache.org/jira/browse/SSHD-134
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Miroslav Pokorny
>
> 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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira