SolarWinds | Serv-U
Contact Support: 866-530-8040 | Contact Sales: 855-498-4154 or email | Show Flags | Login
Serv-U FTP Server Home Page
The Best for Less
Secure file transfer & share files
from anywhere - affordably

FREE for 14 Days
Full featured trial with secure
FTP, file sharing & web transfer


Setting the Maximum Amount of Disk Space a User can Use  -  KB Article #1294

Related Articles --

Serv-U allows administrators to restrict the maximum size of the contents of a directory, enforcing a quota on that directory and its subdirectories. This prevents users from consuming inordinate amounts of FTP server resources to the point of limiting resource availability to other users or to the system itself. To create a limit, follow the steps below:

  • Edit the Directory Access rule for the directory whose size should be limited
  • Enter the maximum size, in megabytes, desired for the directory

For example, in the image below, the user is limited to storing 100 MB of information in his %HOME% directory - because %HOME% is a wildcard, this will always update itself - even if the user's home directory is changed, they will still be limited to 100 MB.

Setting max directory size

Quotas can also be set for user accounts and group accounts in the Limits and Settings | Ratios & Quotas menu. The purpose of a traditional FTP quota such as this is to track the amount of data transferred and deleted by a specific client (through file transfer sessions) so that they do not exceed a certain limit. When files are deleted from a directory outside of a normal FTP session (such as through Windows Explorer), Serv-U has no way of knowing what user's quota would be modified by this external operation, and therefore the user's "Current" usage becomes inaccurate. The only way to correct this is to delete the quota, save the user account, and recreate it. The directory restrictions described above are the preferred method of configuration. To set a file transfer quota for a user:

  • Navigate to User Properties or Group Properties | Limits and Settings
  • Click Ratios and Quotas
  • Set the quota appropriately