dutchcoders / transfer.sh

Easy and fast file sharing from the command-line.
https://github.com/dutchcoders/transfer.sh
MIT License
15.31k stars 1.54k forks source link

Does PURGE_DAYS apply to S3 storage? #620

Closed rty813 closed 5 months ago

rty813 commented 5 months ago

If not, can this feature be added?

stefanbenten commented 5 months ago

It does apply to S3 as well, in that it adds it via the expiry option for the files. See here: https://github.com/dutchcoders/transfer.sh/blob/2a76d14b0d697767440640b140315987745f123b/server/storage/s3.go#L164