mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Logan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-936) Track SFTP put successful completion
Date Thu, 01 Aug 2019 19:28:00 GMT

    [ https://issues.apache.org/jira/browse/SSHD-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16898298#comment-16898298

Logan commented on SSHD-936:

I added ScpCommandFactory and {{ScpTransferEventListener}}  to sshd along with SftpSubsystemFactory
and I noticed nothing is getting called in {{ScpTransferEventListener}}  when I use scp
command. Is this expected? However all events are SftpEventListener are called for scp and
sftp. Attached is the sample code.


> Track SFTP put successful completion
> ------------------------------------
>                 Key: SSHD-936
>                 URL: https://issues.apache.org/jira/browse/SSHD-936
>             Project: MINA SSHD
>          Issue Type: Wish
>    Affects Versions: 2.1.0
>            Reporter: Logan
>            Priority: Major
>         Attachments: sshd-sftp-scp.txt
> While we can track sftp events with SftpEventListener, there is no event/hook to indicate
the sftp put is completed successfully. "Successfully" here means file transfer was done
without being terminated/aborted for various reasons (user intentional termination, broken
connection because of network error....). I think this was tried in earlier versions through
[FileUploadAware|https://github.com/apache/mina-sshd/pull/11/files]. Is this something possible
or just a limitation of protocol?
> FYI - close method of SftpEventListener is called for successfully transfers as well
as aborted connections.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org

View raw message