Feat: gCode Web Upload and Download #32
Reference in New Issue
Block a user
No description provided.
Delete Branch "gangoke/KX-Bridge-Release:web-upload-download"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upload
Drag and Drop or Press to Upload

File upload triggers print bar

Warning dialog for web uploaded files. Web uploaded gcode have a flag. Flag is removed when warning is confirmed. So it will only appear once per file. This warninig can be disabled globally in settings. Flags will stay persistent between setting disable/enabled.

Setting

Download
Press download button to download .gcode to your device
Looking to the future for printing from mobile. Just need to find a mobile slicing solution that can setup a Kobra X profile
Thanks @gangoke — really nice work! Picked this up into the dev repo and tested end-to-end (upload sets
web_unverified=true, verify clears it, download works with proper headers, setting toggles the dialog gate). Two small adjustments before merging:Content-Dispositionheader inhandle_kx_file_downloadwith RFC5987filename*=UTF-8…plus an ASCII fallback, so filenames with special characters or quotes can't escape the header.LANG_DE(msg/confirm/abort) — the English versions remain inLANG_EN.Merged manually into the dev repo (
viewit/KX-Bridgemaster, commit7c834bc) — it lands in the release repo automatically with the nextrelease.shrun. Closing this PR as manually-merged.