Server variable - disc quota

Post here if you have some suggestions or you want to request a new feature.
Post Reply
Djfx*
Posts: 5
Joined: Fri Jan 07, 2011 4:14 am

Server variable - disc quota

Post by Djfx* »

would it be possible to make a new server variable for ftp messages that get`s activated when a user is set up with a active quota rule?

when i add this line to the user login message:
-U have used %UserCurrentQuota of %UserMaxQuota

it`s showing what i want for user`s that got a quota rule set but when there`s no rule set up for the user that`s logging inn it says 0 of 0 so maybe have the %usermaxquota have a conditional logic that changes the 0 to a infinitive mark (∞) or removes the intire line (-U have used %UserCurrentQuota of %UserMaxQuota) if the user that logged in dont have a disc quote
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Server variable - disc quota

Post by FTP »

Actually, you do not need to set such welcome message, because when you enable the disk quota, the server will send such message automatically, like the following message:

226-Maximum disk quota limited to 100000 KBytes.Already Used 0 KBytes disk quota
Post Reply