Restricting users upload limit

Hello! fellow bubblers. I need your help in restricting users to upload only up to 6 mb. They can upload multiple files or only 1 file, but each user’s account should be restricted to allow upload only upto 6MB. Is it possible?

Yes it is possible. And in anticipation of a follow up question, being How to do this, you will need to save on the user a data field that is labeled upload size and is of type number and you save the size of each file they upload as a ‘running sum’ implying each time they upload you add to that number and each time they delete you remove from that number the size of the file.

2 Likes

It worked thank you so much.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.