[SFTP client] NonBlocking mode - how to determine when file transfer is finished?

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
pcz
Posts: 81
Joined: Tue 04 Aug 2015 12:53

[SFTP client] NonBlocking mode - how to determine when file transfer is finished?

Post by pcz » Wed 01 Jun 2016 13:52

Hello

Just a little question...

How to determine if a file transfer is finished in a NonBlocking mode?

For big files there are several calls of OnSuccess handler
But does "opCloseHandle" of Operation argument always mean that transfer is successfully finished?


Regards
P.C.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: [SFTP client] NonBlocking mode - how to determine when file transfer is finished?

Post by ViktorV » Fri 03 Jun 2016 12:30

Yes, you are right. The OnSuccess event is triggered on Operation = opClosingHandle when data transfer is successfully completed.

Post Reply