Page 1 of 1

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

Posted: Wed 01 Jun 2016 13:52
by pcz
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.

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

Posted: Fri 03 Jun 2016 12:30
by ViktorV
Yes, you are right. The OnSuccess event is triggered on Operation = opClosingHandle when data transfer is successfully completed.