SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_disconnect Event

Reports SFTP connection closure.

Syntax

class SFTPClientDisconnectEventParams(object):
  @property
  def close_reason() -> int: ...

# In class SFTPClient:
@property
def on_disconnect() -> Callable[[SFTPClientDisconnectEventParams], None]: ...
@on_disconnect.setter
def on_disconnect(event_hook: Callable[[SFTPClientDisconnectEventParams], None]) -> None: ...

Remarks

The class fires this event to report connection closure. No more SFTP activity could be done after the disconnect.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Python Edition - Version 20.0 [Build 8166]