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