keystonejs / keystone-storage-adapter-s3

⚠️ Archived - Legacy S3 Storage Adapter for KeystoneJS
MIT License
17 stars 56 forks source link

uploads added to /tmp on server #40

Open joephuz opened 5 years ago

joephuz commented 5 years ago

Hi there,

Please excuse me if Im missing something simple or misunderstanding.... When running our app on the server, we found that before the uploads are uploaded to the s3 bucket they are also stored on the server in the /tmp folder. Now its beginning to fill up the server so, Im wondering Is there a way to specify the directory these uploads go to? Furthermore I guess Im planning to add a post save hook in order to delete the file in /tmp when the upload is complete (not sure if this will work yet). Any Ideas or other suggestions would be greatly appreciated...

thanks!

maheeptathgur-rb commented 4 years ago

is there way to remove these file in /tmp folder after upload in completed ?