Open kordianbruck opened 10 years ago
There is no feature to calculate the current total file size. This must be done by a cronjob or so. Calculating the total size on demand would be difficult for shares that contains several 1000 files.
Have no idea to do this with live-data without lags on upload process.
Ah, I see. There are no refrences in a database or similar that why it might get hard. If we would add the uploaded files to a list in the DB, then calculating the size would be a simple query. But creating a DB just for this might be overkill for such a little feature improvement.
Might as well close this issue right now as not relevant / wontfix.
Let an admin set a maximum disk space users are allowed to use. When exceeding this limit, prevent them from uploading new files.