Upload errors with KISS & curl after upgrade to 3.2.2
-
Hi -
My batch script seems to be unhappy after upgrading to 3.2.2. Did anything change in RRF or DWC? I dont see anything in the release notes.
I don't understand the response from the controller. The command window seems to get stuck at the end of the 'We are completely uploaded and fine'
Here is response-
F:\3d-print\Kiss_1.6.3>ECHO ON F:\3d-print\Kiss_1.6.3>curl -# -v --data-binary @""F:\git\PROBE-BOARD\stls\RailCore2.gcode"" -X POST http://192.168.2.20/rr_upload?name=gcodes/RailCore2.gcode Note: Unnecessary use of -X or --request, POST is already inferred. * Trying 192.168.2.20... * TCP_NODELAY set * Connected to 192.168.2.20 (192.168.2.20) port 80 (#0) > POST /rr_upload?name=gcodes/RailCore2.gcode HTTP/1.1 > Host: 192.168.2.20 > User-Agent: curl/7.55.1 > Accept: */* > Content-Length: 9147176 > Content-Type: application/x-www-form-urlencoded > Expect: 100-continue > * Done waiting for 100-continue * We are completely uploaded and fine
if I hit a key, then I get this- and the usual Press any key to continue.
< HTTP/1.1 200 OK < Cache-Control: no-cache, no-store, must-revalidate < Pragma: no-cache < Expires: 0 < Content-Type: application/json < Content-Length: 9 < Connection: close < {"err":0}* Closing connection 0 F:\3d-print\Kiss_1.6.3>curl "http://192.168.2.20/rr_disconnect" {"err":0} F:\3d-print\Kiss_1.6.3>PAUSE Press any key to continue . . .
the script contents-
ECHO ON curl -# -v --data-binary @"%1" -X POST http://192.168.2.20/rr_upload?name=gcodes/%~nx1 curl "http://192.168.2.20/rr_disconnect" PAUSE
-
@sinned6915 assuming you are running in standalone mode, I don't think the web server supports the "Expect: 100-continue" header item. Can you amend the curl command so that it isn't used?