Automatic Uploading to SD Card
-
Hello, I'm working on a web application to do some batch slicing, then automatically send the files to the machine to start printing. I noticed M32 is used to select and initiate the file from the SD card at .../gcodes.
I'm here to ask the best way to upload a .gcode file to the /gcode folder on the SD card using Java/HTML. Is there a way to use SSH/SFTP for File Transfer or HTTP POST? I'm only a novice when it comes to development so a little unsure how to approach this one.
(Posted in wrong forum before)
-
@JRCL it's best to use the HTTP API for this to avoid enabling extra protocols. It's also the same mechanism used when you upload via DWC, so a well tested and understood part of the API.
-
-