Description
- Package Name: iot-ftps-client
- Package Version: 1.1.1
- Operating System: Windows 10 64bit
- Python Version: 3.10
Describe the bug
Connecting to Bambu Labs X1C ftps server, which appears to be running vsFTPd 3.0.3 based on the welcome message, get an error unexpected exception occurred: 522 SSL connection failed: session reuse required
when attempting to do something simple like ftps_client.list_files("/")
. Trying to upload a file I get unexpected exception occurred: EOF occurred in violation of protocol (_ssl.c:2426)
To Reproduce
Steps to reproduce the behavior:
- Used this code to connect and attempt to list and upload file.
from iot.ftps.client import IoTFTPSClient
ftps_client = IoTFTPSClient(
ftps_host="myServerIP",
ftps_port=990,
ftps_user="myServerUsername",
ftps_pass="myServerPass***",
ssl_implicit=True,
)
ftps_client.list_files("/")
ftps_client.upload_file("C:\\Users\\jneil\Documents\\3D Prints\\PrinterUprades\\OrdBotHadron\\OctoprintRelated\\printer-ws-client\\bambu_local\\test.3mf", "/test.3mf")
Expected behavior
To be able to list and upload files.
Additional context
I'm able to connect and list/upload files using filezilla ftp client as described in the link below without issue, so know the login information is correct.
https://forum.bambulab.com/t/we-can-now-connect-to-ftp-on-the-p1p/6464