This is an old revision of the document!
The built-in File Transfer Protocol Server is an alternative way to transfer files to/from your router and its attached storage. This menu contains settings to configure that server. It's divided into sections including: FTP Server Configuration, Directories, Limits, Custom Configuration and User Accounts.
Before using FTP, you may want to consider the pros and cons of using it versus the NFS Server (in a *nix environment) or File Sharing via Samba. There are significant differences between them. In particular, FTP throughput can be much slower than either of the above.
Enable FTP Server:
TLS support: checking this enables support for TLS-encrypted FTP communications.
FTP Port: here, specify the port to use for communications. (Default: TCP 21)
Anonymous User Access:
Here, choose whether anonymous users can access the FTP Server and which file rights they're given.
Allow Admin Login: enables your local system administrator account as an FTP user.
Log FTP requests and responses: the FTP Server and sysong will log all FTP activity to “/var/log/messages”
This includes:
Anonymous Root Directory: Specifies the filesystem location visible to anonymous connections.
Public Root Directory: Specifies the filesystem location accessible to any defined FTP user.
Private Root Directory: A filesystem location accessible only to the owner. Each user has a protected subfolder in this location.
Directory Listings: This setting controls users' ability to do directory listings.
Maximum Users Allowed to Log in: Sets the maximum number of logged-in users at once. Users above the limit are rejected.
Maximum Connections from the same IP: An FTP user can log on via multiple sessions from the same address. Here, specify how many simultaneous connections are for each user.
Maximum Bandwidth for Anonymous Users: FTP throttling limits available bandwidth available to what's specified here for each anonymous user.
Maximum Bandwidth for Authenticated Users: FTP throttling limits each authenticated user's bandwidth to this amount.
Idle Timeout: This specifies the timeout period, (seconds), until a user is disconnected due to inactivity.
Limit Connection Attempts: This works when FTP is enabled on the WAN. If enabled, fields appear to define the maximum number of logon attempts in a given time. Further connection attempts are rejected.
Custom configuration: Here you can enter advanced settings. The underlying FTP Server is Vsftpd. vsftpd
Consult the official documentation before entering settings here.
Here, define FTP user accounts. Accounts defined here are given only FTP service rights. No Linux accounts are created.
Username: Here, enter the ftp user account name.
Password: Here, enter the ftp user account password.
Access:
Read/Write: Choosing this setting gives the user full access.
Read only: Choosing this settings allows the user only to browse and download.
View Only: Selecting wil mean the user can only browse directories.
Private: Choosing allows the user to access only their own folder (not the public area).