I encountered an issue with Retool storage when uploading files with the same name, but different content.
It looks like the retool storage api is checking existing file names when uploading a new file. When the same file name is detected, the existing file gets replace.
It would be ideal if the api looks at "created on" metadata setting a file in storage and append a number if for whatever reason two users are uploading the same file name and the exact same time.
For now, I'm appending a timestamp to the name to avoid this issue, but please consider changing the above.
Thanks for the feedback! We could allow you to tick a checkbox in the uploader components to rename to prevent overwriting previously uploaded files if you’d prefer that (where we’d update the name if this conflicts). Does that sound good?
On this topic, I was trying to upload a newer version of an existing file in Retool Storage yesterday, but I couldn't figure out how to do it.
I thought uploading a file of the same name as an existing one would prompt me to "replace or rename", but it just added the file with a (1) appended to the end: