on_control_send Event
Fires when data is about to be set via the control channel.
Syntax
class FTPClientControlSendEventParams(object): @property def text_line() -> str: ... # In class FTPClient: @property def on_control_send() -> Callable[[FTPClientControlSendEventParams], None]: ... @on_control_send.setter def on_control_send(event_hook: Callable[[FTPClientControlSendEventParams], None]) -> None: ...
Remarks
TextLine contains the data to be sent, which would typically contain a command issued by the client (e.g. CWD dir).