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
Server variable - disc quota
-
- Site Admin
- Posts: 2083
- Joined: Tue Sep 29, 2009 6:09 am
Re: Server variable - disc quota
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
226-Maximum disk quota limited to 100000 KBytes.Already Used 0 KBytes disk quota