Setting up an FTP server is actually very simple. First of all, make sure your machine can surf the internet, and there is no less than ADSL 512Kbps network speed. Second, the hardware performance should be able to meet your needs. Finally, you need to install the FTP server-side software, many of which can be used with Microsoft's IIS (Internet Information Server Internet Information Service system) or professional software. Different software provides different functions, adapting requirements and operating systems. In general, the minimum system requirements are as follows:
Memory: 256MB SDRAM above
Bandwidth: ADSL 512Kbps or above
As with the operating system, Windows 98 and Windows Me can be used if the performance and security requirements for the server are low 98/me/nt/2000/xp. In this article, if there is no special instructions, the Windows XP Professional version of the operating system, the remaining operating systems under the FTP server Setup and settings are similar.
First, with IIS erection
If you only want to build a small, simultaneous FTP server with no more than 10 users, and you won't be able to transfer traffic at the same time, you can use IIS 5.0 as your Server software (IIS only applies to the Windows NT/2000/XP operating system).
Windows XP does not install the IIS component when installed by default, and you need to add the installation manually. Go to Control Panel, locate Add/Remove Programs, select Add/Remove Windows Components after opening, and select the Internet Information Services (IIS) entry in the Windows Components wizard window that pops up. The "√" background color before this option is grayed out because Windows XP does not install the FTP service component by default. Click "Details" in the lower-right corner, and in the Internet Information Services (IIS) window that pops up, locate the File Transfer Protocol (FTP) service, and then confirm it.
Reboot required after installation. Windows nt/2000 and Windows XP are installed the same way.
After the computer restarts, the FTP server starts running, but there are some settings to be made. Click on the "start → all programs → administrative tools →internet information Services", go to the Internet Information Services window, find the "Default FTP Site", right-click the mouse, in the pop-up right-click menu select "Properties." In properties, we can set the name of the FTP server, IP, port, Access account, FTP directory location, user access to FTP when the message received, and so on.
1) FTP site basic information
Go to the FTP Site tab, where the "description" option is the name of the FTP site, used to address your server, you can fill in, such as "My Station"; IP Address "for the server's IP, the system defaults to" All Unassigned ", generally do not need to change, but if there are two or more than two IP addresses in the Drop-down list box, it is best to designate the public network IP;" The TCP port is generally still set to the default 21 port; The connection option is used to set the maximum number of connections for users who are allowed to connect to the server at the same time; Connection timeout is used to set a wait time, and if the user connecting to the server is online longer than the wait time without any action, the server automatically disconnects the user.
2) Set up account and its authority
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, the same site can set up multiple accounts, each account can have different permissions, such as some can upload and download, while others only allow downloading.
3) Security Settings
Enter the security Account tab with the Allow anonymous connections and only anonymous connections, and the default is allow anonymous connections, at which point the FTP server provides anonymous logons. "Allow anonymous connections only" is used to prevent users from using an account with administrative rights to access, when selected, even the Administrator (Admin) account can not log on, FTP can only through the server for "local access" to manage. The FTP site operator option is used to add or remove accounts with certain permissions on this FTP server. IIS is different from other professional FTP server software, it is based on Windows user account for account management, itself and can not arbitrarily set the FTP server to allow access to the account, to add or delete the allowed access account, you must first in the operating system with the "Administrative Tools" in the "Computer Management" in the set Windows user account, and then add or remove the FTP site operator option from the Security Accounts tab. However, for Windows 2000 and Windows XP Professional, the system does not provide an "FTP site operator" account Add and remove features, only providing an administrator account.
Tip: Anonymous login generally does not require users to enter a user name and password to login successfully, if necessary, you can use "anonyMous" as the user name, to any e-mail address for the password to log in.
4) Set the user login directory
Finally set up the FTP home directory (that is, the initial location after the user login FTP), into the Home Directory tab, in the "Local path" to select the root of the FTP site, and set the directory read, write, directory Access. The difference between "UniX" and "MS-DOS" in the directory list style is that if you set the G FTP to the site root, then when the user logs on to FTP, the former will display the home directory as "" and the latter as "G ftp."
When the settings are complete, the FTP server is actually built. If the previous IP address is 126.96.36.199, then the user uses the FTP client software (upload/download software used to log on to the FTP server, such as CuteFTP, FLASHFXP, etc., if not specifically stated, the FTP client software described in this article is CuteFTP Pro 2.0 for example) , the host place fills in 188.8.131.52, the port fills 21, the address of this server is expressed as: FTP//184.108.40.206 21. Although the installation of IIS is simple, easy to set up, but not powerful, management is also troublesome, especially the new basic access to a fundamental authorization to account for the complex settings, and IIS itself is relatively poor security, vulnerable to such as "red Code", such as the virus attacks specifically against IIS vulnerabilities, So many people like to use the Third-party FTP server software to set up.
Second, the use of serv-u and other third-party FTP server software Erection
In addition to IIS, there are many FTP server software can be erected, such as Wu-ftp, ProFTPd, Serv-u, and so on, but most of the only for UNIX, Linux systems, if the use of Windows system, strongly recommend the use of serv-u. Serv-u (Download Address: HTTP//www.newhua.com/ftpservu.htm, including the Chinese package) is a widely used FTP server-side software, supporting Windows 3x/9x/me/nt/2000, such as the entire series of Windows. It is simple to install, powerful, you can use the same IP set multiple FTP servers, limited access to the user's permissions, the main directory and the size of the space, support remote login management, suitable for most of the needs of individual self-built FTP.
Serv-u is simpler to install than IIS. First to implement the original English installation files, press the prompts all the way "neXt" can be. Note that when you choose to install the directory, it is best to choose to install in a non-system disk, so as to avoid future anomalies in the system will have to restart the account settings. Then the implementation of the Chinese file, select the original installation directory, the way "next" to complete the installation.
Unlike IIS, Serv-u prompts the user step-by-step through a wizard to set up the process in the first run, which is no more than five minutes, and is very humane. For convenience, let us assume that we want to set up a fixed IP 220.127.116.11, port 21, root directory absolute path for G FTP, allow anonymous access and have a user named Dys, password for Syd, management account name "MYFTP" public network FTP server. Run serv-u, Eject the wizard window, and set the following options in turn:
1 "Your IP address": Here we fill in 18.104.22.168, if you are ADSL, such as dial-up Internet access, has a dynamic IP or do not know the native IP, here please leave blank.
2 "Domain Name": This is the name of the FTP site, can be named randomly, here to fill in "Myftp."
3 "Anonymous account": Determines whether the FTP site allows anonymous users to access. Select "Yes".
4 "Anonymous home Directory": Sets the location of the directory where anonymous users log on to the site. Enter "G FTP".
5 "Locked In home directory": Assuming that the directory where the anonymous user is logged on in the anonymous home directory is "G:ftpguest", then, when the anonymous user logs on to FTP, it is locked in the G ftpguest directory and can only view the contents of the guest directory. Cannot go to the parent directory "FTP", the directory is displayed as "" In the FTP client software, and if it is not locked, it will be fully displayed as "G:ftpguest". Select "Yes" here.
6 "named account": decide whether to create an account with certain administrative rights. Choose "Yes" here.
7 "Account name": is a certain administrative authority of the account login name. Fill in "Dys".
8 "Account password": Set the login password of the account. Enter "Syd".
9 "Home directory": Same as "Anonymous home directory", used to set the location of the directory where the admin account is logged in. Enter "G:ftp".
10 "Locked In home Directory": select "Yes".
11 "Administrator rights": used to set the administrative level of administrative authority on the account. "No permission" is selected here, followed by further details.
Setup completed, the address is: ftp//22.214.171.124 21 of the FTP server even if erected successfully. Finally, the cuteftp can be authenticated with anonymous and Dys account logins respectively.
Tip: These settings are not final, and you can modify them at any time in the Serv-u main interface.
3. Use the same IP to set up multiple FTP servers
If bandwidth allows, you can also use the same IP to easily set up multiple servers. In Serv-u, each FTP server in the domain under local server is called a domain, and the "myftp" server that you just created is a domain called "myftp." To set up multiple servers, you actually create multiple domains that have different ports.
Right-click Fields, select New domain, and set the reference "Myftp" in the wizard that appears, except that you must not conflict with the port of the domain that you have created or the port that is occupied by other system services on the port. If you fill in 22, the address of this server is: ftp//126.96.36.199 22. In this way, you can set up a number of FTP servers.
Third, the use of dynamic IP domain name analysis software to set up a fixed domain name FTP server
In the above introduction, we assume that the server has a fixed IP 218.1 1.1, and in fact, most people want to set up personal FTP users are usually ADSL and other ways to dial the Internet. Since the IP addresses assigned to each dial-up connection are different, does this mean that an FTP server cannot be installed?
There are two solutions: first, leave blank in your IP address in the wizard and complete the other wizard settings. Enter the Serv-u main interface, first click on the menu bar "help → native IP address", the local IP address replication, and then through other channels to inform each user. Repeat this operation once per dial-up Internet connection; the second is to download and install a dynamic IP domain name resolution software, such as foreign dns2go, domestic peanut shells, 88IP, such software regardless of the IP of this machine can be a fixed domain name automatically resolved to the local IP. In this way, users can access your server as long as they enter this fixed domain name as an FTP address. Obviously, the first method is quite troublesome, requires you to have great patience, the second is quite simple, the user just remember this domain name without the need to manage IP changes. The drawback is that the vast majority of such software currently requires a paid registration to be used permanently, do not register can only use for 30 days.
Let's take 88IP as an example to see how it is set up.
Suppose we want to apply for a domain name: dys1.88ip.com. First, use the Serv-u (IIS and other FTP server software) to set up the FTP server, notice to leave your IP address blank, and then go to http//www.88ip.net to download and install the 88IP Standard Edition.
88IP requires a paid registration to have a permanent domain name, if free registration can only be tested for 15 days. Running the 88IP standard version of the client will eject the Settings window. To obtain a domain name, you need to register first. In "basic information", in turn, fill in the user login name, valid email address, password and contact telephone, next choose your domain name, in "Domain Name data", "Domain name" box fills in Dys2, "Domain name suffix" drop-down box chooses "88ip.com", at this time, below "Your complete domain name is" will appear as dys1.88ip.com, after confirming the error, click the "Register" button to register. If the registered user name or the domain name of the application has been registered by another user, the software will make corresponding prompts, and then register again after the modification. After the registration is successful, "registered successfully, user id:xxxxxxxx" is displayed in the execution status, and the user ID is noted for future payment or technical support needs. Finally, click on the "Mount" button to load the account information that has just been successfully applied to the computer.