[ 
https://issues.apache.org/jira/browse/SSHD-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108500#comment-17108500
 ] 

Lyor Goldstein commented on SSHD-994:
-------------------------------------

Note: this will re-direct +all+ file API access for this session to SFTP. If 
you want to be more fine-grained (e.g., redirect only specific virtual files) , 
then look into how to provide your own {{ScpFileOpener}} - specifically 
{{resolveIncomingFilePath}} - where you can use a variation on the code I 
suggested to choose which files to re-direct to the local file system and which 
one to delegate SFTP - it is a bit trickier, but not too complex. If you do 
want I can look over your code once you think you have implemented it.

> SCP commands redirect to SFTP subsystem
> ---------------------------------------
>
>                 Key: SSHD-994
>                 URL: https://issues.apache.org/jira/browse/SSHD-994
>             Project: MINA SSHD
>          Issue Type: New Feature
>    Affects Versions: 2.3.0
>            Reporter: Sandeep
>            Assignee: Lyor Goldstein
>            Priority: Blocker
>
> Hi Team, I am working on one of the big project where SCP commands need to 
> redirect to SFTP subsystem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to