logoff Method
Logoff from the FTP server by posting a QUIT command.
Syntax
def logoff() -> None: ...
Remarks
This method is used to logoff from the FTP server by posting a QUIT command. If that fails, the connection is terminated by the local host.