Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to overwrite files #13

Open
LeonVreling opened this issue Nov 28, 2023 · 0 comments
Open

Add option to overwrite files #13

LeonVreling opened this issue Nov 28, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@LeonVreling
Copy link
Member

LeonVreling commented Nov 28, 2023

Currently, the names of the uploaded files are hardcoded. This is something nice, and should be kept if possible. This gives a weird situation, however, when you want to overwrite a previously uploaded file. The new file you want to save currently is not being saved, as the name already exists in the file.

A good solution would be a check to see if a file already exist with the same name, and then give a warning if the admin user really would like to overwrite the file. If this is indeed the case, the file is overwritten / the old one removed and the new one saved.

@LeonVreling LeonVreling added bug Something isn't working enhancement New feature or request labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant