[
https://issues.apache.org/jira/browse/SSHD-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16447563#comment-16447563
]
Goldstein Lyor commented on SSHD-814:
-------------------------------------
{quote}1. ... Is there some else way to do this?{quote}
I don't think so, if you want to know what happened to a file, then you have to
track it via the {{open, read/write, close}} callbacks
{quote}2. ... When do a delete or rename or other action to a non-exist file or
directory. For now, it just open failed, and not call any callback function in
`SftpEventListener`.{quote}
True - this is what I meant by {quote}there are a few cases where the listener
might not be called, which I will fix{quote}
> enrich the SftpEventListener
> ----------------------------
>
> Key: SSHD-814
> URL: https://issues.apache.org/jira/browse/SSHD-814
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 1.7.0
> Reporter: Zhenliang Su
> Assignee: Goldstein Lyor
> Priority: Minor
> Labels: EventListener, sftp
>
> In practice, I found that, the callback function provided by
> SftpEventListener is not enough. For example, the following situation is not
> easy to be notified in a elegant way:
> {code:java}
> download files that you do not have access to
> download a file that no longer exists
> upload files to a directory without permissions
> create a new file in a directory that you do not have access to
> download or upload a file complete
> upload a zero size file
> ...{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)