Server variable - disc quota
Posted: Thu May 17, 2012 3:04 pm
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
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