From bc33efca998b0d2de708fcfa71562f1cda78f7f8 Mon Sep 17 00:00:00 2001 From: arhi Date: Sun, 24 Dec 2017 03:02:30 +0100 Subject: [PATCH] don't forget to change your api key and octoprintip to suit you, also put proper path to curl binary --- gs.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gs.bat b/gs.bat index efa2943..f3a964c 100644 --- a/gs.bat +++ b/gs.bat @@ -9,4 +9,5 @@ set if=%filepath%%filename%%extension% set of=%filepath%%filename%_M117%extension% E:\Dev\eclipse-workspace\gcodestat\gcodestat.exe -d 0.02 -a 1000 --gcode="%if%" --output="%of%" | c:\Windows\System32\msg.exe %username% -E:\bin\curl-7.50.3-win64-mingw\bin\curl.exe -H "X-Api-Key: XXXXXXYOURAPIKEYXXX" -F "select=false" -F "print=false" -F "file=@%of%" "http://octoprintip/api/files/local" \ No newline at end of file +E:\bin\curl-7.50.3-win64-mingw\bin\curl.exe -H "X-Api-Key: XXXXXXYOURAPIKEYXXX" -F "select=false" -F "print=false" -F "file=@%of%" "http://octoprintip/api/files/local" +