Come on, you are also a webmaster-I am proficient in setting up FTP servers

Source: Internet
Author: User
Tags ftp site file transfer protocol ftp protocol

Xie Feng's 20th issue

File Transfer Protocol (FTP) is the Protocol used to Transfer files on the Internet. It is a File Transfer standard designed to allow us to transfer files to each other over the Internet. That is to say, through the FTP protocol, we can perform file Upload or Download operations with the FTP server on the Internet.

With the development of society, the network gradually affects our lives and work habits. FTP server applications are just a typical example. Every day, we need to transmit a large number of files on the Internet. If there are hundreds of megabytes of files that need to be shared with friends or work partners, what should we do? (What can we do if an email is suspected of being a blow-up email -_-)? Set up an FTP server! You can download files from your computer's virtual directory over the Internet or upload the files you want to share to your directory. Watching free movies under broadband is one of the important applications of broadband, but free resources are limited after all. Be an FTP webmaster! Not only can you share your favorite classic movies for downloads, but you can also exchange popular new movies with many FTP webmasters.

The FTP application is not listed here. In short, in the broadband era, setting up FTP servers has gradually become a new fashion for resource sharing. If we say "You Are Not Q" is popular yesterday, today is "are you FTP ".

Come, you should be the webmaster too!

All you need is bandwidth above kbps of ADSL and a computer that is not too bad.

Setup
Setting up an FTP server is actually very easy. First, make sure that your machine can access the Internet at a speed not lower than kbps of ADSL. Secondly, the hardware performance must meet your needs. Finally, you need to install FTP Server-side software. There are many such software. You can use Microsoft's Ⅱ (Internet Information Server Internet Information Service System) or professional software. Different software provides different functions, and the requirements and operating systems are also different. Generally, the minimum requirements of the system are as follows:

CPU: P Ⅲ MHz or above

Memory: 256 MB or above

Bandwidth: ADSL kbps or above

For Windows 98/Me/NT/2000/XP, Windows 98/Me can be used. If you have low requirements on server performance and security, Windows 98 and Windows Me can be used. Unless otherwise stated in this article, Windows XP Professional Edition is used as the operating system. The setup and settings of FTP servers in other operating systems are similar.

I. Set up with Ⅱ S
If you only want to create a small FTP server with no more than 10 concurrent online users, and do not transmit large data volumes at the same time, you can use Ⅱ S 5.0 as the server software (Ⅱ S is only applicable to Windows NT/2000/XP operating systems ).

1. Install

When Windows XP is installed by default, the Ⅱ S component is not installed and must be manually installed. Go to the control panel, find "Add/delete programs", and select "Add/delete Windows Components". In the displayed "Windows component wizard" window, select "Internet Information Service (Ⅱ S. The "√" background color before this option is gray, because the FTP service component is not installed in Windows XP by default. Click "details" in the lower-right corner. In the pop-up "Internet Information Service (Ⅱ)" window, find "File Transfer Protocol (FTP) service", and click "OK.

After installation, restart the instance. Windows NT/2000 and Windows XP are installed in the same way.

2. Set

After the computer restarts, the FTP server starts to run, but some settings are required. Click Start> All Programs> Administrative Tools> Internet Information Service. In the Internet information service window, find "Default FTP site", right-click, in the pop-up context menu, select "properties" (figure 1 ). In "properties", we can set the FTP server name, IP address, port, access account, FTP directory location, and the message received when the user enters FTP.

 

1) basic FTP site information

Go to the "FTP site" tab, where the "Description" option is the name of the FTP site. You can enter it as needed, for example, "my website "; the "IP address" is the Server IP address, and the system defaults to "(all are not allocated)", 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 a public IP address; "TCP port" is generally still set as the default port 21; "connection" is used to set the maximum number of connections allowed to connect to the server at the same time; "connection timeout" is used to set a waiting time. If the online time of the user connected to the server exceeds the waiting time without any operation, the server will automatically disconnect the user.

2) Set accounts and their Permissions

Many FTP sites require users to enter the user name and password to log on. This user name and password are called accounts. Different users can use the same account to access the site. Multiple accounts can be set for the same site, and each account can have different permissions, such as uploading and downloading, some allow download only.

3) Security Settings

On the "Security Account" tab, "Allow anonymous connections" and "Allow anonymous connections only" are displayed. The default value is "Allow anonymous connections". In this case, the FTP server provides anonymous logon. "Allow anonymous connections only" is used to prevent users from accessing the account with administrative permissions. After selection, even the Administrator account cannot log on, FTP can only be managed through "local access" on the server. The "FTP site operator" option is used to add or delete accounts with certain permissions on the FTP server. Ⅱ S is different from other Professional FTP server software. It manages accounts based on Windows user accounts and cannot set accounts that are accessible to FTP servers at will, to add or delete accounts that are allowed to access, you must first set a Windows User Account in "Computer Management" in the "Management Tools" that come with the operating system, then, add or delete an FTP site operator on the "Security Account" tab. However, for Windows 2000 and Windows XP Professional Edition, the system does not provide the "FTP site operator" account addition and deletion function, but only provides one Administrator account.

Tip: anonymous Logon generally does not require the user to enter the user name and password to log on successfully. If necessary, use "anonymous" as the user name and use any email address as the password to log on.

4) set the user logon directory

Finally, set the FTP home directory (the initial location after the user logs on to FTP), go to the "home directory" tab, and select the root directory of the FTP site in "local path, and set the read, write, and directory access permissions for this directory. The difference between UNIX and MS-DOS in the directory list style is that when you set G: Ftp to the site root directory, the former will display the main directory as "", and the latter as "G: Ftp ".

After the configuration is complete, the FTP server is actually built. If the preceding IP address is 218.1.1.1, the user uses the FTP client software (used to log on to the FTP server to upload/download software, such as CuteFTP and FlashFXP). Unless otherwise specified, the FTP client software mentioned in this article takes 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 expressed as ftp: // 218.1.1.1: 21. Although IIS is easy to install and easy to set up, its functions are not powerful, and management is also very troublesome. In particular, it is complicated to set up a new basic authorized access account, in addition, the security of the second generation is also relatively poor, and it is vulnerable to viruses such as "Red code" that specifically attack the second generation of vulnerabilities, therefore, many people prefer to use third-party FTP server software for setup.

2. Using third-party FTP server software such as Serv-U
In addition to Ⅱ S, there are many FTP server software that can be set up, such as Wu-FTP, ProFtpd, Serv-U, etc. However, most of them are only applicable to Unix and Linux systems, serv-U is strongly recommended. Serv-U (: http://www.newhua.com/ftpservu.htm, including Chinese package) is a widely used FTP server software that supports Windows 3x/9x/Me/NT/2000 and other Windows series. It is easy to install and has powerful functions. You can use the same IP address to set multiple FTP servers, restrict logon user permissions, log on to the main directory and space, and support remote logon management, suitable for the vast majority of individual self-built FTP needs.

1. Install

The installation of Serv-U is simpler than that of Ⅱ S. First, execute the original installation file in English and follow the prompts to "NEXT. It should be noted that when selecting the installation directory, it is best to choose to install it in a non-system disk to avoid re-setting the account and so on in the future when the system encounters different J. Then execute the Chinese file, select the original installation directory, and complete the installation by "Next.

2. Set

Different from Ⅱ S, Serv-U prompts the user step by step in wizard mode during the first running. The whole process should not exceed five minutes, which is very user-friendly. For convenience, assume that we need to set up a fixed IP address 218.1.1.1, port 21, and the absolute root directory path G: Ftp, allow Anonymous Access to and have a public FTP server with the username dys, password syd, and management account name "MyFtp. Run Serv-U. In the displayed wizard window (Figure 2), set the following options in sequence:

 

1) "your IP address": here we fill in 218.1.1.1. If you are using ADSL or other dial-up Internet access methods, some are dynamic IP addresses or do not know the local IP address, please leave it blank here.

2) "Domain Name": the name of the FTP site. You can name it at will. Enter "MyFtp" here ".

3) "Anonymous Account": determines whether anonymous users are allowed to access the FTP site. Select "yes ".

4) "anonymous main directory": sets the directory location after an anonymous user logs on to the site. Enter "G: Ftp ".

5) "locked in main directory": If the directory location after anonymous user logon is set to "G: FtpGuest" in "anonymous main directory", after "yes, after anonymous users log on to FTP, they are locked in the G: FtpGuest directory. They can only view the contents in the Guest directory and cannot access the "Ftp" directory at the upper level ", at the same time, the directory is displayed as "" in the FTP client software. If it is not locked, it is completely displayed as "G: FtpGuest ". Select "yes ".

6) "named account": determines whether to create an account with certain administrative permissions. Select "yes" here ".

7) "account name": indicates the Account Logon Name with certain management permissions. Enter "dys ".

8) "account password": Set the Account Logon password. Enter "syd ".

9) "main directory": Like "anonymous main directory", it is used to set the directory location after the management account logon. Enter "G: Ftp ".

10) "locked in main directory": Select "yes ".

11) "Administrator permission": used to set the management permission level for the management account. Select "no permission" here, which will be detailed later.

The setting is complete. if the address is ftp: // 218.1.1.1: 21, the FTP server is successfully set up. Finally, you can use CuteFTP to log on with anonymous accounts and dys accounts for verification.

Tip: these settings are not final settings. You can modify them at any time on the main Serv-U Interface.

3. Use the same IP address to set up multiple FTP servers

If the bandwidth permits, you can also use the same I

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.