Logoff Method
Ends a session with the connection client.
Syntax
async oftpserver.logoff(connectionId : string): Promise<void>
Remarks
This method will attempt to end the session with the client if the client has acknowledged it is finished sending files to the server. If the client still wishes to process commands, the method will give control back to the client and ConnectionsReadyToSend will be false. When ConnectionsReadyToSend is true, calling this method will end the session.