Overwriting files
Closed this issue · 1 comments
tomcardoso commented
Hi there, I'm working on a Meteor app that uploads a ton of thumbnails to S3. Specifically, they're chart thumbnails, and I generate a new one each time the chart is edited even a little, which means that in the process of creating a chart, I might end up with something like 30 thumbnails.
Is there a way to selectively delete charts by filename, or better yet overwrite files sent to S3? And also, is there a way to persist the original filename once it's uploaded?
tomcardoso commented
Ah! I see that I can just set unique_name
to false and it'll start overwriting provided I've given the same filename and path, and it'll keep my filename instead of giving me a unique uuid. Cool!