You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Logan (Jira)" <ji...@apache.org> on 2020/05/13 23:05:00 UTC
[jira] [Commented] (SSHD-992) Customizing sftp stat commands
[ https://issues.apache.org/jira/browse/SSHD-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17106722#comment-17106722 ]
Logan commented on SSHD-992:
----------------------------
Overriding _doStat(int id, String path, int flags)_ inĀ _AbstractSftpSubsystemHelper_ seems to be not possible since the _SftpSubsystem_ _doProcess_() calls _super.doProcess()._
> Customizing sftp stat commands
> ------------------------------
>
> Key: SSHD-992
> URL: https://issues.apache.org/jira/browse/SSHD-992
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 2.1.0
> Reporter: Logan
> Priority: Major
>
> We use SSHD servers to support SFTP functionality that when user uploads a file, we internally create a file with a unique name and handle this upload. While this customization is working it does break some clients that issue stat command after upload. Is there a hook or customization that I can do to handle the stat commands ourselves instead of default handler? Have the same issues with getting attributes of the file too. Probably some hooks similar SftpFileSystemAccessor openFile?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org