View Single Post
Old 04-13-2004, 06:18 AM  
Mouton
Posse Member
 
Join Date: Dec 2002
Posts: 1,956
Default

How strict would u like to enforce the quota ?
Say the quota is 25MB, and the guy got 10MB of files in his dir, and he starts uploading a 20MB file... Only when he's done we would see it's over the 25MB.
What would u do then ? Just wipe the 20MB file he just uploaded and tell him he was over-quota with it ?

Would be pretty easy to do...
Modify_Stats_On_Delete = true
And simply check ALLUP stats when a file is uploaded. If ALLUP > quota, then he's over quota. Otherwise, he's ok.
a 5 lines itcl would do it... a little more if u need exceptions...
Mouton is offline   Reply With Quote