on_banner Event
Reports the receipt of the Welcome message from the server.
Syntax
class SFTPClientBannerEventParams(object): @property def text() -> bytes: ... @property def language() -> bytes: ... # In class SFTPClient: @property def on_banner() -> Callable[[SFTPClientBannerEventParams], None]: ... @on_banner.setter def on_banner(event_hook: Callable[[SFTPClientBannerEventParams], None]) -> None: ...
Remarks
The class fires this event when it receives a welcome message from the server. Use the Text parameter to access the encoded message.