[
https://issues.apache.org/jira/browse/SSHD-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325988#comment-17325988
]
Susmit Sarkar commented on SSHD-1156:
-------------------------------------
I am getting the message, but we have many custom user exits, where the
customer can use them, post file upload, or pre file upload or post file get or
pre-get file
Suppose, the use case is the scp operation should fail for file name with pdf
extension, rest all it allows.
With SftpErrorStatusDataHandler I was able achieve the feat and return a custom
message to the client but with SCP i need similar hook to propagate the custom
message, so I asked
> Is SftpErrorStatusDataHandler applicable for ScpCommandFactory?
> ---------------------------------------------------------------
>
> Key: SSHD-1156
> URL: https://issues.apache.org/jira/browse/SSHD-1156
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Susmit Sarkar
> Priority: Blocker
>
> We are creating SCP server with :
> ScpCommandFactory factory = new ScpCommandFactory();ScpCommandFactory factory
> = new ScpCommandFactory(); sshdServer.setCommandFactory(factory);
> sshdServer.setShellFactory(factory);
> SftpErrorStatusDataHandler is applicable to SftpSubsystemFactory
> Wanted to know if we have the similar functionality for ScpCommandFactory ?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]