You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2011/07/01 10:56:28 UTC

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

    [ 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