SoFunction
Updated on 2025-04-09

Two methods for setting up FTP server in detail, page 2/3

In addition to IIS, there are many FTP server software that can be installed, such as Wu-FTP, proFTPd, Serv-U, etc., but most of them are only suitable for uniX and linuX systems. If you use Windows systems, it is highly recommended to use serv-u. serv-u (download address: http ///, including Chinese package) is a widely used FTP server-side software that supports Windows 3X/9X/Me/nt/2000 and other full Windows series. It is simple to install and powerful. It can use the same IP to set multiple FTP servers, limit the permissions of logged in users, log in home directory and space size, and supports remote login management. It is suitable for most individuals to build their own FTP.

1. Installation

Serv-U installation is easier than IIS. First execute the original English installation file and follow the prompts to "neXt" all the way. It should be noted that when selecting the installation directory, it is best to install it in a non-system disk, so as to avoid re-setting the account when an abnormality occurs in the future. Then execute the Chinese file, select the original installation directory, and complete the installation by "next step" along the way.

2. Settings

Unlike IIS, Serv-U will prompt the user to set it step by step in a wizard-like manner when it is run for the first time. The whole process does not exceed five minutes, which is very user-friendly. For convenience of explanation, first assume that we want to set up a fixed IP of 218.1.1.1, port of 21, and absolute path of the root directory is G\FTP, allowing anonymous access and possession of a public network FTP server with a user name dys, a password of syd, and a management account name "MyFTP". Run Serv-U, and the wizard window pops up, and then set the following options:

1) "Your IP address": Here we fill in 218.1.1.1. If you dial up and access the Internet using adsl or other methods, you have a dynamic IP or don't know the local IP, please leave it blank here.
2) "Domain Name": It is the name of the FTP site. You can name it at will. Fill in "MyFTP" here.
3) "Anonymous account": Decide whether the FTP site allows anonymous users to access. Select Yes.
4) "Anonymous home directory": Set the directory location where anonymous users are after logging into the site. Enter "G\FTP".
5) "Lock in the home directory": Assuming that the directory location where the anonymous user logs in is set to "G:\FTP\Guest" in the "Anonymous Home Directory", then, after selecting "Yes", when the anonymous user logs in to FTP, it is locked in the G \FTP\Guest directory. You can only view the contents in the Guest directory and cannot enter the upper directory "FTP". At the same time, the directory is displayed as "\" in the FTP client software. If it is not locked, it will be displayed as "G:\FTP\Guest". Select "Yes" here.
6) "Named Account": Decide whether to create an account with certain administrative rights. Select "Yes" here.
7) "Account Name": It is the account login name with certain management permissions. Fill in "dys".
8) "Account Password": Set the account's login password. Enter "syd".
9) "Home Directory": Like "Anonymous Home Directory", it is used to set the directory location where the management account is located after logging in. Enter "G:\Ftp".
10) "Lock in home directory": select "Yes".
11) "Administrator Permissions": Used to set the administrative permission level of the management account. Select "No permission" here, and will be described in detail later.
The setup is completed, and the FTP server with address: FTP//218.1.1.1 21 has been successfully set up. Finally, CuteFTP can be used to log in with anonymous and dys accounts respectively.
Tip: The above settings are not the final settings, you can also modify them at any time in the Serv-U main interface.

3. Set up multiple FTP servers with the same IP

If bandwidth allows, you can also easily set up multiple servers with the same IP. In Serv-U, each FTP server in the "Domain" under "Local Server" is called the "Domain". The "MyFTP" server I just created is a domain called "MyFTP". To set up multiple servers, it is actually just to create multiple domains with different ports.

Right-click "Domain", select "New Domain", and refer to "MyFTP" in the pop-up wizard to set it. However, at the port, you must not conflict with the port of the "Domain" you have created or the port occupied by other system services. If 22 is filled in, the address of this server is: FTP//218.1.1.1 22. By doing this, multiple FTP servers can be set up.