mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
The FTP code called prot_p() (protected data channel) for all printers, but for A1/A1 Mini it didn't wrap the data connection in SSL. This mismatch caused an immediate EOFError - server expected encrypted data but received plain data. Fix: - Use prot_c() (clear/unencrypted data channel) for A1/A1 Mini - Use prot_p() (protected/encrypted data channel) for X1C/P1S/etc - Removed non-functional ftplib._SSLSocket = None workaround A1/A1 Mini: control channel encrypted (implicit TLS), data channel clear X1C/P1S/etc: both channels encrypted with SSL session reuse Closes #271