#1916: fix a problem with process_ftp_command method
This commit is contained in:
@@ -52,7 +52,8 @@ class FTPServer(FTPServiceABC):
|
||||
payload.status_code = FTPStatusCode.ERROR
|
||||
return payload
|
||||
|
||||
session_details = self._get_session_details(session_id)
|
||||
if session_id:
|
||||
session_details = self._get_session_details(session_id)
|
||||
|
||||
# process server specific commands, otherwise call super
|
||||
if payload.ftp_command == FTPCommand.PORT:
|
||||
|
||||
Reference in New Issue
Block a user