upload_file
Upload a local G-code file to your 3D printer. Supports FTPS, REST multipart upload, and serial transfer automatically.
Instructions
Upload a local G-code file to the printer.
Handles FTPS (Bambu), REST multipart upload (OctoPrint/Moonraker), and
serial file transfer automatically.
Args:
file_path: Absolute path to the G-code file on the local filesystem.
The file must exist, be readable, and have a recognised extension
(.gcode, .gco, or .g).
After a successful upload the file will appear in ``printer_files()`` and
can be started with ``start_print()``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |