Feature Request: Adjustable Max # Downloads in addition to time-based Retention
Instead of having 'one time download' as a Retention option, would it be possible to make Retention only contain options for time/date expirations, and have a separate option for Max # Downloads where one-time, 2, or however many downloads are stored, either as a dropdown configurable in config.js or as a textbox? Implementing this may deprecate config.js's maxAge setting.
Hmm so you know in advance that 4 users needs to download the file? What if user 1 downloads it twice?
The maxAge settings only a fallback for the garbage collection, ie for never downloaded one-time files.
Sorry, I prepared a response some time ago but appears I didn't submit it.
For larger files, the transfer may fail for whatever reason (f.e. client side Internet issues) so if they need to re-download the file and if set to one-time that would no longer be an option. I would probably set it to 3 and if they cannot complete that one file within 3 attempts then I may suggest another means of obtaining it. one-time also would not allow me to test the transfer myself before it coming unavailable.
I've seen a similar implementation in commercial systems.
I know an option is to just set the Retention to a time window which they should be able to complete it in, but I think there are scenarios where a combination of both would be beneficial (I can't think of any right now).