browser must be open to upload from s3d
-
I'm using curl commands to send a sliced filed from s3d to my printer. however, it only ever works if i've first opened the web interface to the duet in my browser.
anyone know why that is and what i can do to upload without the browser having to be open first?here are my commands if it helps
curl --data-binary "@[output_filepath]" "http://192.168.x.xx/rr_upload?name=gcodes/[output_filename].gcode&time=YYY"
curl "http://192.168.x.xx/rr_gcode?gcode=M32[output_filename].gcode"
curl "http://192.168.x.xx/rr_disconnect" -
add a call to
curl "http://192.168.x.xx/rr_connect"
at the top? -
@bearer said in browser must be open to upload from s3d:
add a call to
curl "http://192.168.x.xx/rr_connect"
at the top?@bearer Thanks.. that did the trick!