How to Set up Home Directories and Quotas for FTP Users
You can specify home directories for FTP users. A home directory is the entry point for a user on an FTP server. When the user logs in, the starting directory is the one you specify. If you do not specify a home directory, the user will log in to the server's root directory. The user can move out from his home directory to a parent directory if he has the necessary rights.
Quotas are only enforced on home directories, and apply to all files contained in the home directory and its subdirectories. If a user has rights to upload files outside of his home directory, he will be able to do so without restrictions. When a user starts to upload a file, the FTP server scans the contents of the directory to determine if the user is below or above the quota. If the quota is not exceeded, the upload can be started; however, the FTP server will interrupt the transfer as soon as the file being uploaded starts to exceed the specified quota.
- Access the server preferences in Server Functions > FTP Configuration.
- On the FTP Users tab, click the name of the user you want to modify.
- Click Home/Quota.
Edit the settings of the user.
Option Description Home directory path You can use a full path, starting with a drive letter, or you can enter a relative path to the server's root directory. Home directories specified above the server's root directory are disregarded.Note: Ensure that users have rights to their entry points on the server, otherwise they will not be able to log in. Quota Set the home directory quota. This is an optional setting. By leaving the field empty you do not limit the amount of data that the user can store on the server. On server Select the servers where you want to apply the directory and quota settings.
- Click Apply.