[ https://issues.apache.org/jira/browse/SSHD-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871488#comment-16871488 ]
Goldstein Lyor commented on SSHD-929: ------------------------------------- Note - make sure to also enforce {quote} SSH_FXP_REMOVE This request cannot be used to remove directories. The server MUST return SSH_FX_FILE_IS_A_DIRECTORY in this case. {quote} > Separate listener for deleting directory in SFTP > ------------------------------------------------ > > Key: SSHD-929 > URL: https://issues.apache.org/jira/browse/SSHD-929 > Project: MINA SSHD > Issue Type: Improvement > Affects Versions: 2.3.0 > Reporter: Subramaniajeeva > Assignee: Goldstein Lyor > Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > Right now listener for deletion of file and directory is common. This makes > it difficult to find whether directory / file has been removed. > The path passed to `removed` function in SftpEventListener will not tell if > the deleted path was a directory or file. `Files.isDirectory(path)` will > return false, as the derectory doesn't exist. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org