Код: Выделить всё
curl -k -H "X-Api-Key: КЛЮЧ_API_ИЗ_НАСТРОЕК_OCTOPRINT" -F "select=false" -F "print=false" -F "file=@ПУТЬ_И_ИМЯ_ФАЙЛА.gcode" "АДРЕС_УСТРОЙСТВА:5000/api/files/local" {STRIP "; postProcessing"}
https://community.octoprint.org/t/uploa ... pt/3938/20