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

Instead of renaming attachments with same name, store them in subdirectories #107

Open
lmoellendorf opened this issue Jul 13, 2023 · 0 comments

Comments

@lmoellendorf
Copy link

This is related to kiwitcms/Kiwi#3104

This isas feature request to solve this problem:

If a file is uploaded multiple times, it gets renamed. So if a user downloads the file it has not the intended name and must be renamed.

In our use case the file name is specific and must not be changed in order to be usable by the user.

This is the proposed solution:

Instead of renaming the file, store it in a subdirectory. This will create a unique path without changing the file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant