moonraker icon indicating copy to clipboard operation
moonraker copied to clipboard

Option to prevent overwriting files when uploading

Open charlespick opened this issue 2 years ago • 1 comments

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.

charlespick avatar Mar 20 '22 15:03 charlespick

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.

Dreistein75 avatar Nov 18 '22 17:11 Dreistein75