Page 1 of 1

4.1.1 not working anymore with "curl" to send Gcode to Octoprint

Posted: Sun Dec 09, 2018 4:01 am
by CerbereOrion
Hi !

I just updated Simplify 3D to the latest 4.1.1 and i am experiencing problem.

With the previous version of S3D, i used the "curl" script to send my files wirelessly to Octoprint.
But it seems this trick does not work with the 4.1.1.

Any idea how i can get this feature back to work ? Or any other trick for that...

Thanks a lot !

Re: 4.1.1 not working anymore with "curl" to send Gcode to Octoprint

Posted: Tue Jan 08, 2019 2:02 pm
by S3D-Jake
Can you share with me your script? (minus your API key) Are there spaces in any of the filepaths being used?

Re: 4.1.1 not working anymore with "curl" to send Gcode to Octoprint

Posted: Fri May 03, 2019 1:49 pm
by TylonHH
Same here. I use this scipt:

Code: Select all

curl -k -H "X-Api-Key: XXXXXXXXXXXXXX" -F "select=true" -F "print=false" -F "file=@[output_filepath]" "http://192.168.178.44:88/api/files/local"
The files has no spaces.

But in previous version this was no problem.
I use 4.1.2

EDIT: when I "curl" in windows cmd with the full filepath, it works.

Re: 4.1.1 not working anymore with "curl" to send Gcode to Octoprint

Posted: Fri May 03, 2019 3:08 pm
by arhi
use gcodestat :D

you have to add full path to program unless you put the file somewhere in global path (irrelevant if you use gcodestat or curl)