moonraker
moonraker copied to clipboard
Option to prevent overwriting files when uploading
Is your feature request related to a problem? Please describe
I'd like an option to check for overwriting files when uploading a new file.
Describe the solution you'd like
This way front ends can be notified when they're about to upload a file that overwrites an existing one and ask the user to confirm (like octoprint) and when you do a blind upload (from a slicer) it automatically adds a suffix of some sort.
Describe alternatives you've considered
The only real solution is to do the check yourself right now which can be impractical when you have hundreds of gcode files already uploaded.
Additional information
The main issue is I want to be able to better rely on the connection between the job history and the names of the gcode files related to those jobs. If I print something and then overwrite that gcode file, the filename under history is pretty much useless or misleading if you aren't cognizant.
if this gets implemented, then maybe as a feature that the user can turn on or off? Because I actually LIKE this overwriting-thing. It happens quite often that I slice something, then upload directly from the slicer, then I realise I screwed up something, re-slice, re-upload --> the old+wrong STL is overwritten and I only see the "correct" one.