tus / tus-node-server

Node.js tus server, standalone or integrable in any framework, with disk, S3, and GGC stores.
https://tus.io/
MIT License
795 stars 197 forks source link

S3store creating extra .info file #627

Closed sagargg closed 2 months ago

sagargg commented 2 months ago

Hi, While uploading to S3 storage using S3Store, an extra .info file is created with each upload. Why is it creating this file, and what is it used for? Is there a way to get rid of the .info file? Eg. Screenshot 2024-06-13 at 1 35 02 PM

Murderlon commented 2 months ago

Hi, we need to be able to store additional information, such as metadata, storage info, offset, size, creation date. We make requests against the info file to know those things. Generally you keep the file names randomly generated (like the default), without file extension even, as you have that information separate and this way you prevent file corruption with same names.