psitransfer icon indicating copy to clipboard operation
psitransfer copied to clipboard

Feature Request: Adjustable Max # Downloads in addition to time-based Retention

Open greecemunky opened this issue 8 years ago • 2 comments

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.

greecemunky avatar Jul 14 '17 01:07 greecemunky

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.

psi-4ward avatar Oct 01 '17 20:10 psi-4ward

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).

greecemunky avatar Jan 17 '18 00:01 greecemunky