How to get gcode id after upload

I'm getting {data:[]} returned after upload, I was expecting some kind of gcode id that I can then instruct repetier to tell to print.  How do you go about doing this?  
TIA,
Shane

Comments

  • That is true. Reason is that in case of a zip upload it could also be many files being created.

    Solution depends on use case. In gui you can use summary to see the gcode id if you just need it for a script.

    For an automated solution you can list the uploaded g-codes. Newest upload has the highest id and of course same name, so you can still get it if needed.
  • Repetier said:
    That is true. Reason is that in case of a zip upload it could also be many files being created.

    Solution depends on use case. In gui you can use summary to see the gcode id if you just need it for a script.

    For an automated solution you can list the uploaded g-codes. Newest upload has the highest id and of course same name, so you can still get it if needed.
    Ok great I'll go with the highest id route I think.

    Thanks!
Sign In or Register to comment.