Server variable - disc quota

Post here if you have some suggestions or you want to request a new feature.

Server variable - disc quota

Postby Djfx* » 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
Djfx*
 
posts 5
 
joined Fri Jan 07, 2011 4:14 am

Re: Server variable - disc quota

Postby FTP » Tue May 22, 2012 5:44 am

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
FTP
Site Admin
 
posts 1220
 
joined Tue Sep 29, 2009 6:09 am


Return to Suggestions & Wishlist

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest