on_command_processed Event
Signals that a command has been processed by the server.
Syntax
class FTPServerCommandProcessedEventParams(object): @property def connection_id() -> int: ... @property def current_directory() -> str: ... @property def command() -> str: ... @property def reply_code() -> int: ... # In class FTPServer: @property def on_command_processed() -> Callable[[FTPServerCommandProcessedEventParams], None]: ... @on_command_processed.setter def on_command_processed(event_hook: Callable[[FTPServerCommandProcessedEventParams], None]) -> None: ...
Remarks
The class fires this event to signal that a command has been processed by the server, and a reply code has been generated.
You can adjust the reply code and the textual comment associated with it in on_before_send_reply event handler.