General
At Control Panel > File Services > FTP, you can enable speed limit, file transfer logging, security settings and other advanced settings in the General section.
Enabling FTP File Transfer Logging
Click Advanced Settings and tick Enable FTP file transfer log. This option records the logs of downloaded or uploaded files.
Note:
- Enabling this option might affect system performance.
Changing User root directories
Click Advanced Settings and tick Change user root directories. When this option is enabled, the selected users can only access the specified folders when they sign in to DSM via FTP.
To create a root directory change rule:
- In Advanced Settings, click Select User.
- Click Add.
- In User or group, select whom this rule will be applied to.
- Select which root directory will be available when the user logs in. Choose from:
- User home: Users arrive at their home directory after logging in.
- Shared folder: Choose a shared folder as the root directory. Please note that the folder permissions for the user or group should be checked first. A user or group with insufficient folder permissions will be unable to sign in.
- Click OK.
- After all rules are added, click OK to save the rules.
Note:
- Rules are prioritized according to their positions in the list.
- Drag-and-drop to reorder the rules in the list.
Enabling Anonymous FTP
Click Advanced Settings and tick Enable Anonymous FTP. This option allows anyone with the anonymous or ftp account to sign in to Synology NAS device's FTP service.
Changing Anonymous root
Click Advanced Settings, tick Enable Anonymous FTP, and tick Change Anonymous root. This option allows you to change anonymous FTP user's login directory. Select a shared folder from the drop-down menu.
Applying Default UNIX Permissions
Click Advanced Settings and tick Apply default UNIX permissions. This option applies the default UNIX permissions when users upload or create files and folders. Applied permissions are the same as permissions applied by the UNIX command umask. When this option is enabled, UNIX permissions are 644 for files and 755 for folders. When this option is disabled, UNIX permissions are 666 for files and 777 for folders. The default umask value is 022.
Note:
- For Windows ACL enabled shared folders (all shares excluding "photo" and shares on external drives), please run the chmod command on your Linux or FTP client to change folder and file permission types from Windows ACL to UNIX.
- Enabling this option might cause inconsistent permission issues between different protocols. To avoid inconsistencies, we suggest leaving this option disabled.
Enabling Speed Limit
Enable a speed limit to control the maximum usable bandwidth for users and groups who transfer data via FTP.
To enable speed limit:
- Tick the box marked Enable speed limit, or Enable speed limit according to a schedule if you would like to implement a speed limit at specific times only. This is a server-wide setting and will override the settings of individual users and groups. Choosing No speed limit removes the speed limit settings of all users and groups when using FTP.
- Click Speed Limit Settings to modify the settings for individual users or groups. For each user and group, you can select one of the following:
- Apply group settings: The speed limit settings will be the same as the group to which the user belongs.
- None: No speed limit will be applied when group members transfer files with the service.
- Set up speed cap: A fixed, constant speed limit will be applied to the user or group members. Upload and download speed limits can be specified in the fields to the left.
- Advanced settings: Two different speed limits can be specified and applied to the user or group members according to a schedule. Click the Advanced Settings button to modify the speed limit settings and set a schedule.
- Click Apply.
Note:
- For more details regarding group speed limit dynamics, please refer to this article.
- When setting speed limit for a user, the Result section displays the user's actual speed limit according to their individual and group settings. For example, if a user "Achilles" has an individual download limit of 100 KB/s, but belongs to a user group with a download limit of 500 KB/s, then the Results section will display "0/500."