Renaming file via url query params #210
-
Is it possible, to rename the file via URL query params, or keep the original filename in the collection instead of the long generated string? Thanks in advanced! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
No, at the moment users are not allowed to change the uploaded file name. Using a unique random string for filenames have several benefits:
If you want to keep the original file name (or any other meta data), you could add additional field(s) in your collection (eg. |
Beta Was this translation helpful? Give feedback.
-
It would be great to be able to pass the desired filename as query string parameter or based on another field in DB. Either this: Or a custom DB field for storing the name and an option in the configuration of the file field for selecting the "name" field. Example: |
Beta Was this translation helpful? Give feedback.
No, at the moment users are not allowed to change the uploaded file name.
Using a unique random string for filenames have several benefits:
If you want to keep the original file name (or…