Server banner message file - The file to show the banner message before users log in, this file should be a text file and no longer than 1024 bytes.
Server welcome message file - The file to show the welcome message after users log in, this file should be a text file and no longer than 1024 bytes.
FTP server ready message - It is used to change the standard "220 Xlight FTP Server ready" message.
Show Folder Message - After this option is enabled, whenever a user changes his working directory to a new directory with the "_msg.txt" file, FTP server will send the content of the "_msg.txt" file as the folder message to this user.
The following variables are supported by the Banner Message, Welcome Message and "_msg.txt" file:Virtual Server Variables
%maxusers - The maximum allowed users for this virtual server.
%curusers - The current online user number for this virtual server.
%totaldown - Total downloaded bytes for this virtual server.
%totalup - Total uploaded bytes for this virtual server.
%s_idle_timeout - The maximum idle time of all users for this virtual server.
%s_down_bw_limit - The download bandwidth limit for this virtual server.
%s_up_bw_limit - The upload bandwidth limit for this virtual server.
%downfiles - Total number of downloaded files of this virtual server.
%upfiles - Total number of uploaded files of this virtual server.
%avg_downspd - The average download speed of this virtual server.
%avg_upspd - The average upload speed of this virtual server.
%time - Current time of the virtual server.
%date - Current date of the virtual server.
%runtime - How long this virtual server has been up and running for.
%logins_sum - Total number of login users since this virtual server is up.
%login_per_ip - The maximum logins from the same IP of this virtual server.
FTP Server Variables
%max_down_bw - The download bandwidth limit of the FTP server.
%max_up_bw - The upload bandwidth limit of the FTP server.
%cur_down_bw - The current download bandwidth of the FTP server.
%cur_up_bw - The current upload bandwidth of the FTP server.
%cur_dl_users - The number of users currently downloading files.
%cur_ul_users - The number of users currently uploading files.
%diskfree<> - Free Hard disk space(by MB), for example %diskfree<C> will show free disk space of C:\ Drive.
User Variables
Buffer for sending data (KB) - Socket buffer for sending data to the client. The Unit is in KB. 0(default) will use 32KB as the socket buffer size. FTP clients will normally have better throughput with a large socket buffer, especially when users are in the Gigabyte Ethernet. Increasing the size of this buffer will normally result in better downloading speed. But be aware that the socket buffer will use non-paged pool memory of Windows kernel, there is total 256M non-paged pool memory limitation in the kernel. So don't use a very large socket buffer, if the FTP server has many online users downloading files. The default value of 32KB socket buffer can provide good throughput, although 64K, 128K, 256K can provide higher throughput. You may try the socket buffer size by yourself to find the best socket buffer value in your environment.
Buffer for receiving data (KB) - Socket buffer for receiving data from the client. The Unit is in KB. 0(default) will use 32KB as the socket buffer size. FTP clients will normally have better throughput with a large socket buffer, especially when users are in the Gigabyte Ethernet. The Unit is in KB. Increasing the size of this buffer will normally result in better uploading speed.
Enable UTF8 Encoding Enable UTF8 encoding for FTP sessions.
Allow to use MODE Z for data transfer Some FTP clients support MODE Z function. MODE Z function can compress data stream in real-time, but enabling MODE Z will have much higher CPU utilization in the FTP server.
Enable Email Notification Use the email notification function of the Xlight FTP Server. It can notify the system administrator and other recipients by email about events that happened in the Xlight FTP Server. The events supported are "hard disk space low", "file upload", file download" and "file delete". For detailed steps of setup email notification, you can refer to this link.
Write statistics to file
Statistics update interval - The interval in seconds that the server statistics file will be updated. If using the default value 0, the statistics will be updated every second.
Statistics filename - The name of the server statistics file.
Write user connection details to a file
User's connection detail update interval - The interval in seconds that server users connection detail will be updated. If using default value 0, the server users connection detail will be updated every second.
User's connection detail filename - The name of server users connection detail file.
Execute a program after user logged in - Execute an external program after a user logged in. You can pass variables to the external program to be executed as command-line arguments. The following variables are supported, they will be replaced with actual values when the external program is called:
$username - The user name who just logged in.
$user_ip - The IP address of the user who just logged in.
Allow user to change his password by \"SITE PSWD\" command - Enable this option to let a user change his password by himself through "SITE PSWD" command.
Option for PASV mode IP - Option for PASV mode IP address in the server reply.
When the FTP server is located behind NAT or broadband router, it may use a private IP. If this private IP is embedded in the FTP PASV mode reply, users from outside will never be able to establish a data channel to the FTP server and make file transfer. Because WAN interface IP is a public IP address, to allow users from outside to establish a data channel to the FTP server, the "fixed WAN IP" or "domain name" should be set in the "[Global Option]->[Firewall and Broadband router]". When WAN IP is configured, the virtual server will automatically decide what to put in the PASV mode IP reply. If a user's IP is from the same Class C subnet of the virtual server, it will put the FTP server's IP in the PASV mode reply, otherwise, WAN IP is put in the PASV mode reply. But you can use the following two options to change the above default behavior.
Always use serve IP for PASV mode reply In certain situations, not all virtual servers are intended for users from the outside, some of them are for internal only. Because internal users are also using private IP and can access the server's private IP directly, their IP may not be in the same Class C IP subnet of the virtual server. When this option is selected, instead of using the WAN interface IP, this virtual server will always put the FTP Server's private IP in the PASV mode reply.
Always use WAN IP for PASV mode reply - This is opposite to the option "Always use serve IP for PASV mode reply". WAN IP is always embedded in the PASV mode reply, even for the users from the same Class C IP subnet of the virtual server.