Retool storage issue with files with same name but different content

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.

1 Like

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?

yes!