Merge branch 'dev' into feature/1943-service-web-server

This commit is contained in:
Czar.Echavez
2023-10-04 16:35:23 +01:00
14 changed files with 182 additions and 35 deletions

View File

@@ -49,6 +49,9 @@ class FTPServer(FTPServiceABC):
if session_id:
session_details = self._get_session_details(session_id)
if payload.ftp_command is not None:
self.sys_log.info(f"Received FTP {payload.ftp_command.name} command.")
# process server specific commands, otherwise call super
if payload.ftp_command == FTPCommand.PORT:
# check that the port is valid