|
@@ -78,8 +78,8 @@ class BambuFTPClient:
|
|
|
FTP_PORT = 990
|
|
FTP_PORT = 990
|
|
|
DEFAULT_TIMEOUT = 30 # Default timeout in seconds (increased for A1 printers)
|
|
DEFAULT_TIMEOUT = 30 # Default timeout in seconds (increased for A1 printers)
|
|
|
# Models that need SSL session reuse disabled (A1 series has FTP issues with session reuse)
|
|
# Models that need SSL session reuse disabled (A1 series has FTP issues with session reuse)
|
|
|
- # P2S should use normal session reuse like X1C/P1S, not skip it
|
|
|
|
|
- SKIP_SESSION_REUSE_MODELS = ("A1", "A1 Mini", "P1S", "P1P")
|
|
|
|
|
|
|
+ # X1C/X1E/P1S/P1P/P2S use vsFTPd which requires SSL session reuse - do NOT add them here
|
|
|
|
|
+ SKIP_SESSION_REUSE_MODELS = ("A1", "A1 Mini")
|
|
|
|
|
|
|
|
def __init__(
|
|
def __init__(
|
|
|
self,
|
|
self,
|