[ https://issues.apache.org/jira/browse/SSHD-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107835#comment-17107835 ]
Lyor Goldstein edited comment on SSHD-992 at 5/15/20, 1:52 AM: --------------------------------------------------------------- {quote} we internally create a file with a unique name and handle this upload {quote} I am not sure I understand what this means and why this would prevent clients to do {{stat}} or retrieve attributes was (Author: lgoldstein): {quote} we internally create a file with a unique name and handle this upload {quote} I am not sure I understand what this means and why this would prevent clients to do {{stat}} or retrieve attributes {quote} Probably some hooks similar SftpFileSystemAccessor openFile {quote} I will look into it... > 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-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org