mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-04 21:21:54 +02:00
User feedback indicated A1 Mini with current firmware works with prot_p (protected/SSL data channel), not prot_c as previously assumed. Different A1 firmware versions have different FTP SSL behavior. Changes: - Remove hardcoded assumption that A1 models need prot_c - Try prot_p first for all models (including A1/A1 Mini) - If upload/download fails on A1 models, automatically retry with prot_c - Cache working mode per printer IP for subsequent operations - Add force_prot_c parameter for explicit mode control This makes FTP work across A1 firmware versions: - New firmware: prot_p succeeds, cached - Old firmware: prot_p fails → prot_c fallback succeeds, cached