dutchcoders / transfer.sh

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

Does PURGE_DAYS apply to S3 storage? #620

Closed rty813 closed 3 weeks ago

rty813 commented 3 weeks ago

If not, can this feature be added?

stefanbenten commented 3 weeks 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