fixato sftp

This commit is contained in:
2025-11-03 16:49:48 +01:00
parent b5d3e764e8
commit 5e71d323a9
15 changed files with 118 additions and 98 deletions

View File

@@ -185,7 +185,6 @@ async def start_sftp_server(cfg, host='0.0.0.0', port=22):
port,
server_host_keys=['/app/ssh_host_key'], # You'll need to generate this
sftp_factory=SFTPFileHandler,
session_encoding=None, # Binary mode for file transfers
)
logger.info(f"SFTP server started successfully on {host}:{port}")