onDisconnect (event)
Reports SFTP connection closure.
Syntax
- (void)onDisconnect:(int)closeReason;
func onDisconnect(_ closeReason: Int32)
Remarks
The class fires this event to report connection closure. No more SFTP activity could be done after the disconnect.