SFTP.DoneEvent Event

Fires when initiated method has completed.

[Visual Basic]
Public DoneEvent As WeOnlyDo.Client.SFTP.DoneDelegate
[C#]
public DoneDelegate DoneEvent;

Remarks

For each method issued by the user (MakeDir, ListDir, DeleteFile...) this event will be fired to determine that method has completed, and that it was (successfully) executed. If error occurred, Error argument will contain non-zero error code that determines the error.

You can use this event for automated requests. As soon as you initiate some method, and this event is fired, you can initiate new method immediately.
 

If you use blocking methods, do not initiate new commands from within this event, or everything will block!

 

See Also

SFTP Class | SFTP Members | WeOnlyDo.Client Namespace