If you just want to build a small FTP server with no more than 10 simultaneous online users and no large-traffic data transmission at the same time, you can use IIS 5.0 as the server software to set up (IIS is only applicable to Windows NT/2000/XP operating system).
1.Installation
The IIS component is not installed during the default installation of Windows XP and needs to be added and installed manually. Go to the Control Panel, find "Add/Remove Programs", open it and select "Add/Remove Windows Components", and in the pop-up "Windows Component Wizard" window, select the "Internet Information Services (IIS)" item. The background color of the "√" in front of this option is gray because Windows XP does not install the FTP service component by default. Then click "Details" in the lower right corner, and in the pop-up "Internet Information Services (IIS)" window, find "File Transfer Protocol (FTP) Service", select it and confirm.
You need to restart after installation. The installation methods for Windows NT/2000 and Windows XP are the same.
2. Settings
After the computer restarts, the FTP server will start running, but some settings still need to be made. Click "Start → All Programs → Administrative Tools → Internet Information Services", enter the "Internet Information Services" window, find "Default FTP Site", right-click the mouse, and select "Properties" in the pop-up right-click menu. In "Properties", we can set the name, IP, port, access account, FTP directory location, messages received when the user enters FTP, etc. of the FTP server.
1) Basic information of FTP site
Enter the "FTP Site" tab. The "Description" option is the name of the FTP site. It is used to call your server. You can fill it in as you like, such as "My Site"; "IP Address" is the IP of the server. System The default is "all unallocated", which generally does not need to be changed. However, if there are two or more IP addresses in the drop-down list box, it is best to specify the public IP; "tCp port" is generally still set to the default Port 21; the "Connection" option is used to set the maximum number of connections allowed for users to connect to the server at the same time; "Connection Timeout" is used to set a waiting time. If the user connected to the server is online for more than the waiting time without any operation, the server will The user will be automatically disconnected.
2) Set up accounts and their permissions
Many FTP sites require users to enter a username and password to log in. This username and password are called accounts. Different users can use the same account to access the site, and multiple accounts can be set up on the same site. Each account can have different permissions. For example, some can upload and download, while others only allow downloading.
3) Security settings
Enter the "Security Account" tab, there are two items: "Allow anonymous connections" and "Allow anonymous connections only". The default is "Allow anonymous connections". At this time, the FTP server provides anonymous login. "Only allow anonymous connections" is used to prevent users from using accounts with administrative rights to access. When selected, even adMinistrator (administrator) accounts cannot log in, and FTP can only be managed through "local access" on the server. As for the "FTP site operator" option, it is used to add or delete accounts with certain permissions on this FTP server. iis is different from other professional FTP server software. It performs account management based on WindoWs user accounts. It cannot arbitrarily set the accounts allowed to be accessed by the FTP server. To add or delete the accounts allowed to be accessed, you must first configure the "" that comes with the operating system. Go to "Computer Management" in "Administrative Tools" to set up a WindoWs user account, and then add or delete it through the "FTP Site Operator" option in the "Security Account" tab. However, for WindoWs 2000 and WindoWs Xp professional editions, the system does not provide the function of adding and deleting "FTP site operator" accounts, and only provides a management account of adMinistrator.
Tip: Anonymous login generally does not require the user to enter a username and password to log in successfully. If necessary, you can use "anonymousMous" as the username and any email address as the password to log in.
4) Set user login directory
Finally, set the FTP home directory (that is, the initial location after the user logs in to FTP), enter the "Home Directory" tab, select the root directory of the FTP site in "Local Path", and set the read, write, directory of the directory. access rights. The difference between "uniX" and "Ms-dos" in "Directory List Style" is: assuming GFTP is set as the site root directory, when the user logs in to FTP, the former will cause the home directory to be displayed as "", and the latter Displayed as "GFTP".
After the setup is completed, the FTP server is truly established. If the previous IP address is 218.1.1.1, the user uses FTP client software (upload/download software used to log in to the FTP server, such as CuteFTP, FlashFXp, etc.). Unless otherwise specified, the Ftp client software referred to in this article is CuteFtp. pro 2.0 as an example), fill in 218.1.1.1 for the host and 21 for the port. The address of this server is: FTP //218.1.1.1 21. Although IIS is simple to install and set up, its functions are not strong and management is very troublesome. In particular, even creating a basic authorized access account requires complex settings, and the security of IIS itself is relatively poor, and it is susceptible to attacks such as " "Code Red" and other viruses that specifically attack IIS vulnerabilities, many people like to use third-party FTP server software to set up.
[Cut-Page]
In addition to IIS, there are many FTP server software that can be set up, such as Wu-FTP, proFTPd, Serv-U, etc., but most of them are only suitable for uniX and linuX systems. If you use WindoWs system, it is strongly recommended to use serv-u. serv-u (download address: http://WWW.neWhua.CoM/FTPservu.htM, including Chinese package) is a widely used FTP server software that supports all WindoWs such as WindoWs 3X/9X/Me/nt/2000. series. It is easy to install and powerful. You can use the same IP to set up multiple FTP servers, limit the permissions of logged-in users, log in to the home directory and space size, support remote login management, etc. It is suitable for most individuals' self-built FTP needs.
1.Installation
The installation of Serv-U is simpler than IIS. First execute the original English installation file and follow the prompts to "neXt". It should be noted that when selecting the installation directory, it is best to choose to install it on a non-system disk to avoid having to re-set the account and other settings when the system is abnormal in the future. Then execute the Chinese file, select the original installation directory, and click "Next" to complete the installation.
2. Settings
Different from IIS, Serv-U will prompt the user to set up step by step in the form of a wizard when it is run for the first time. The whole process does not take more than five minutes, which is very user-friendly. For the convenience of explanation, assume that we want to set up a fixed IP of 218.1.1.1, port of 21, absolute path of the root directory G FTP, allow anonymous access and have a user name of dys, password of syd, management account name of " MyFTP" public network FTP server. Run Serv-U, a wizard window will pop up, and set the following options in sequence:
1) "Your IP address": Here we fill in 218.1.1.1. If you are dialing up through adsl or other methods, have a dynamic IP or do not know the local IP, please leave it blank here.
2) "Domain name": This is the name of the FTP site. You can choose a name at will. Fill in "MyFTP" here.
3) "Anonymous account": Determine whether anonymous users are allowed to access the FTP site. Select "Yes".
4) "Anonymous home directory": Set the directory location where anonymous users will be located after logging in to the site. Enter "GFTP".
5) "Locked to Home Directory": Assume that in "Anonymous Home Directory", the directory location for anonymous users to log in is set to "G:FTPGuest". Then, after selecting "Yes", when the anonymous user logs in to FTP After that, it is locked in the GFTPGuest directory. You can only view the contents of the Guest directory and cannot enter the upper-level directory "FTP". At the same time, the directory is displayed as "" in the FTP client software. If it is not locked , it will be completely displayed as "G:FTPGuest". 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 login name of an account with certain management rights. Fill in "dys".
8) "Account Password": Set the login password for the account. Enter "syd".
9) "Home Directory": Like "Anonymous Home Directory", it is used to set the directory location where the management account will be located after logging in. Enter "G:Ftp".
10) "Lock to home directory": Select "Yes".
11) "Administrator Permissions": Used to set the management authority level of the management account. Select "No permissions" here, details will be given later.
After the setting is completed, the FTP server with the address: FTP//218.1.1.1 21 is successfully set up. Finally, CuteFTP can be used to log in with anonymous and dys accounts for verification.
Tip: The above settings are not final and you can modify them at any time in the Serv-U main interface.
3. Set up multiple FTP servers with the same IP
If bandwidth permits, you can easily set up multiple servers using the same IP. In Serv-U, each FTP server in the "Domain" under "Local Server" is called a "domain". The "MyFTP" server just created is a domain named "MyFTP". To set up multiple servers, you actually just create multiple domains with different ports.
Right-click "Domain", select "New Domain", and refer to "MyFTP" in the pop-up wizard for settings. Just make sure the port does not conflict with the port of the already created "domain" or the port occupied by other system services. . If you fill in 22, the address of this server is: FTP//218.1.1.1 22. By following this, you can set up multiple FTP servers.
[Cut-Page]
In the above introduction, we assume that the server has a fixed IP of 218.1.1.1. In fact, most users who want to set up personal FTP usually use adsl and other methods to dial up the Internet. Since the IP address assigned to each dial-up connection is different, does this mean that an FTP server cannot be set up?
There are two solutions: First, leave "Your IP Address" blank in the wizard just now, and then complete other wizard settings. Enter the Serv-U main interface, first click "Help→Local IP Address" on the menu bar, copy the local IP address, and then inform each user through other channels. Repeat this operation every time you dial up to access the Internet; the second is to download and install a dynamic IP domain name resolution software from the Internet, such as foreign dns2Go, domestic peanut shells, 88IP, etc. This kind of software can change a computer's IP regardless of how it changes. The fixed domain name is automatically resolved to the local IP. In this way, users only need to enter this fixed domain name as the FTP address to access your server. Obviously, the first method is quite troublesome and requires a lot of patience. The second method is quite simple. Users only need to remember the domain name regardless of whether the IP changes. The fly in the ointment is that currently most of this type of software requires paid registration to be used permanently. Without registration, you can only use it for free for 30 days.
Let's take 88IP as an example to understand its settings.
Suppose we want to apply for a domain name: dys1.88IP.com. First, use Serv-U (IIS and other FTP server software can also be used) to set up the FTP server as mentioned above. Make sure to leave "your IP address" blank, and then go to http//www.88IP.net to download and install it. 88IP standard version.
88IP requires paid registration to have a permanent domain name. If you register for free, you can only try it for 15 days. Run the 88IP standard version client, and the settings window will pop up. To obtain a domain name, you need to register it first. In "Basic Information", fill in the user login name, valid email address, password and contact number in order. Next, select your domain name. In "Domain Name Information", fill in dys2 in the "Domain Name" box, and "Domain Name" Select "88IP.com" in the "Suffix" drop-down box. At this time, "Your full domain name is" below will be displayed as dys1.88IP.com. After confirming that it is correct, click the "Register" button to register. If the registered user name or applied domain name has been registered by other users, the software will prompt you accordingly. Just modify it and register again. After successful registration, "Registration successful, user ID: XXXXXXXX" will be displayed in the "Execution Status". Note the user ID for future payment or technical support. Finally, click the "Load" button to load the account information you just successfully applied for onto your computer.
In addition to IIS, there are many FTP server software that can be set up, such as Wu-FTP, proFTPd, Serv-U, etc., but most of them are only suitable for uniX and linuX systems. If you use WindoWs system, it is strongly recommended to use serv-u. serv-u (download address: http://WWW.neWhua.CoM/FTPservu.htM, including Chinese package) is a widely used FTP server software that supports all WindoWs such as WindoWs 3X/9X/Me/nt/2000. series. It is easy to install and powerful. You can use the same IP to set up multiple FTP servers, limit the permissions of logged-in users, log in to the home directory and space size, support remote login management, etc. It is suitable for most individuals' self-built FTP needs.
1.Installation
The installation of Serv-U is simpler than IIS. First execute the original English installation file and follow the prompts to "neXt". It should be noted that when selecting the installation directory, it is best to choose to install it on a non-system disk to avoid having to re-set the account and other settings when the system is abnormal in the future. Then execute the Chinese file, select the original installation directory, and click "Next" to complete the installation.
2. Settings
Different from IIS, Serv-U will prompt the user to set up step by step in the form of a wizard when it is run for the first time. The whole process does not take more than five minutes, which is very user-friendly. For the convenience of explanation, assume that we want to set up a fixed IP of 218.1.1.1, port of 21, absolute path of the root directory G FTP, allow anonymous access and have a user name of dys, password of syd, management account name of " MyFTP" public network FTP server. Run Serv-U, a wizard window will pop up, and set the following options in sequence:
1) "Your IP address": Here we fill in 218.1.1.1. If you are dialing up through adsl or other methods, have a dynamic IP or do not know the local IP, please leave it blank here.
2) "Domain name": This is the name of the FTP site. You can choose a name at will. Fill in "MyFTP" here.
3) "Anonymous account": Determine whether anonymous users are allowed to access the FTP site. Select "Yes".
4) "Anonymous home directory": Set the directory location where anonymous users will be located after logging in to the site. Enter "GFTP".
5) "Locked to Home Directory": Assume that in "Anonymous Home Directory", the directory location for anonymous users to log in is set to "G:FTPGuest". Then, after selecting "Yes", when the anonymous user logs in to FTP After that, it is locked in the GFTPGuest directory. You can only view the contents of the Guest directory and cannot enter the upper-level directory "FTP". At the same time, the directory is displayed as "" in the FTP client software. If it is not locked , it will be completely displayed as "G:FTPGuest". 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 login name of an account with certain management rights. Fill in "dys".
8) "Account Password": Set the login password for the account. Enter "syd".
9) "Home Directory": Like "Anonymous Home Directory", it is used to set the directory location where the management account will be located after logging in. Enter "G:Ftp".
10) "Lock to home directory": Select "Yes".
11) "Administrator Permissions": Used to set the management authority level of the management account. Select "No permissions" here, details will be given later.
The setting is completed, and the FTP server with the address: FTP//218.1.1.1 21 is successfully set up. Finally, CuteFTP can be used to log in with anonymous and dys accounts for verification.
Tip: The above settings are not final and you can modify them at any time in the Serv-U main interface.
3. Set up multiple FTP servers with the same IP
If bandwidth permits, you can easily set up multiple servers using the same IP. In Serv-U, each FTP server in the "Domain" under "Local Server" is called a "domain". The "MyFTP" server just created is a domain named "MyFTP". To set up multiple servers, you actually just create multiple domains with different ports.
Right-click "Domain", select "New Domain", and refer to "MyFTP" in the pop-up wizard for settings. Just make sure the port does not conflict with the port of the already created "domain" or the port occupied by other system services. . If you fill in 22, the address of this server is: FTP//218.1.1.1 22. By following this, you can set up multiple FTP servers.