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

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

     [ https://issues.apache.org/jira/browse/SSHD-929?focusedWorklogId=265506&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-265506 ]

ASF GitHub Bot logged work on SSHD-929:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jun/19 05:26
            Start Date: 24/Jun/19 05:26
    Worklog Time Spent: 10m 
      Work Description: The-Yoda commented on pull request #104: [SSHD-929] Create separate listener for remove directory.
URL: https://github.com/apache/mina-sshd/pull/104
 
 
   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 directory doesn't exist.
   
   This patch will have a fix to create one more listener entry for directory removal.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 265506)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>            Priority: Minor
>          Time Spent: 10m
>  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-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org