You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the Files.load(url, options) to read and store data.
Inside the DB the filenames are saved correctly and the path to the FS. But when looking inside the directory i only get something like that:
I was wondering how this is generated, It's logical that there are UUIDs so no files will be overwritten, but can I somehow modify the generated path / filename as well?
Like UUID-original-filename.<ext> -> ../files/76gd9asd8za-orignal-image.png
Hello again,
I use the
Files.load(url, options)
to read and store data.Inside the DB the filenames are saved correctly and the path to the FS. But when looking inside the directory i only get something like that:
UUID-original-UUID.<ext> -> ../files/76gd9asd8za-orignal-8jdc1hd8.png
I was wondering how this is generated, It's logical that there are UUIDs so no files will be overwritten, but can I somehow modify the generated path / filename as well?
Like UUID-original-filename.<ext> -> ../files/76gd9asd8za-orignal-image.png
Here's my code:
Regards
The text was updated successfully, but these errors were encountered: