You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Subramaniajeeva (JIRA)" <ji...@apache.org> on 2019/06/24 05:22:00 UTC

[jira] [Created] (SSHD-929) Separate listener for deleting directory in SFTP

Subramaniajeeva created SSHD-929:
------------------------------------

             Summary: 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


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-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org