Downloads a 3MF file from a Bambu Lab printer via it's FTPS service when the printer is in LAN mode. The embedded thumbnail is then extracted from the 3MF file.
This script makes little-to-no effort to validate files exist or are in the correct format and is provided as-is. I take no responsibility for any loss of data or damages caused. Use at your own risk.
Run the script with arguments <host> <access_code> <model name>. Example: