onDisconnect (event)
This event is fired when the SFTP subsystem connection is closed.
Syntax
- (void)onDisconnect:(int)closeReason;
func onDisconnect(_ closeReason: Int32)
Remarks
Do not perform any file operations after this event has been fired.