26 Nov
2010
26 Nov
'10
3:33 p.m.
On 26.11.2010, at 12.26, Antonio Perez-Aranda wrote:
Is It possible have a quota for max file size?
No. Also I don't think that's really about quota, since this could be useful even when users have no quota.
I think maybe is easy to create a plugin, get the saved stream size and then if it is over quota max file size, abort save and notice to use about the limit, but at first I want to know that really daesn't similar exists.
Yes, should be pretty easy. You can see quota_save_begin() how it checks quota before saving actually starts.