mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-134) ScpCommand should use a FileSystemView abstraction rather than assuming the native FS.
Date Fri, 01 Jul 2011 08:56:28 GMT

    [ 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

        

Mime
View raw message