How to set up ftp server

Source: Internet
Author: User
Keywords ftp server
Tags access account login account management accounts address anonymous apply for change

Erecting a FTP server is actually very simple. First of all, to ensure that your machine can access the Internet, but also not less than ADSL 512Kbps network speed

. Second, the hardware performance to meet your needs. Finally, you need to install FTP server-side software, a lot of this type of software, you can use micro

Soft IIS (Internet Information Server Internet Information Services System), you can also use the professional software. Different software provided

Different functions, adapt to the needs and operating systems are also different. In general, the system minimum requirements are as follows:


CPU: P Ⅲ 450MHz above
Memory: 256MB SDRAM above
Bandwidth: ADSL 512Kbps above


As for the operating system, Windows 98 / Me / NT / 2000 / XP can be, if the server performance and security requirements are low, you can use

Windows 98 and Windows Me. In this article, unless otherwise specified, all Windows XP Professional operating system, the rest of the operating system

FTP server erection and settings are similar.

First, set up with IIS

If you just want to build a small online users at the same time not more than 10 FTP server, and not at the same time the flow of data transmission,

You can use IIS 5.0 as the server software to set up (IIS only for Windows NT / 2000 / XP operating system).

1. Installation

Windows XP default installation does not install IIS components, you need to manually add the installation. Into the control panel, find "Add / Remove Programs"

Open and select "Add / Remove Windows Components" in the pop-up "Windows Components Wizard" window, the "Internet Information Services

(IIS). "The" √ "background color in front of this option is gray because Windows XP does not install the FTP service component by default

. Then click on the lower right corner of the "Details" in the pop-up "Internet Information Services (IIS)" window, find the "File Transfer Protocol

FTP) service ", select OK after OK.


After installation you need to restart. Windows NT / 2000 and Windows XP are installed in the same way.

2. Settings

After the computer reboots, the FTP server is up and running, but there are some settings to make. Click "Start → All Programs → Administrative Tools →."

internet information service "into the" internet information service "window, find the" default FTP site ", right-click the mouse in the pop-up

Right-click menu, select "Properties." In the "Properties", we can set the name of the FTP server, IP, port, access account, FTP directory

Recorded location, the user receives a message when entering FTP.

1) FTP site basic information

Into the "FTP Site" tab, which "Description" option for the FTP site name, used to call your server, you can fill

, Such as "My Little Station"; "IP address" is the server's IP, the system defaults to " all unallocated", generally do not need to change, but if

If there are two or more IP addresses in the drop-down list box, it is better to specify it as public IP. "TCp port" is still set to default 21

Port; "Connection" option is used to set the maximum number of users allowed to connect to the server; "Connection Timeout" is used to set a waiting time

, If the user connected to the server is online longer than the waiting time without any action, the server automatically disconnects from the user

connection.

2) Set up an account and its permissions

Many FTP sites require users to enter a user name and password to log in, the user name and password is called an account. Different users can use the phase

The same account to access the site, the same site can set up multiple accounts, each account can have different permissions, if any can upload and download,

While others only allow downloading.

3) Security settings

Into the "Security Accounts" tab, there is "allow anonymous connections" and "only allow anonymous connections" two, the default is "allow anonymous connections"

At this time, FTP server provides anonymous login. "Allow only anonymous connections" is used to prevent users from using an account with administrative privileges to access,

When selected, even adMinistrator (administrator) account can not log in, FTP only through the server for "local access" to manage

. As for the "FTP site operator" option is used to add or delete the FTP server has certain permissions account. iis with other professional

FTP server software is different, it is based on WindoWs user account account management, itself can not be set FTP server allows access

Account, you want to add or delete allowed access to the account, you must first in the operating system comes with "management tools" in the "computer management" to set

Set up a WindoWs user account and then add or remove via the FTP Site Operators option in the Security Accounts tab. But for

WindoWs 2000 and WindoWs Xp Professional, the system does not provide "FTP site operator" account to add and delete functions, only to provide

adMinistrator a management account.

Tip: Anonymous log in generally do not require users to enter a user name and password to log in successfully, if necessary, can be used "anonyMous" as

Login with any email address as your password.

4) Set the user login directory

Finally set the FTP home directory (that is, the user after logging in to the initial location of FTP), enter the "home directory" tab, select the "local path"

Good FTP site root directory, and set the directory to read, write, directory access. "UniX" and "Ms." In "Directory List Style"

-dos "The difference is: Assuming G \ FTP as the site root, when the user logs in FTP, the former will make the home directory displayed as" \ "

, The latter shows as "G \ FTP".
After setting up, FTP server even if really built. If the previous IP address is 218.1.1.1, the user uses the FTP client software

To log FTP server upload / download software, such as CuteFTP, FlashFXp, etc., unless otherwise specified, the Ftp client software referred to in this article

Are CuteFtp pro 2.0 as an example), the host filling 218.1.1.1, port filling 21, the address of the server expressed as: FTP

 // 218.1.1.121. Although the installation of IIS is simple, easy to set up, but the function is not strong, management is also very troublesome, especially with a new base

This authorized access to the account must be complicated settings, and IIS itself is also relatively poor security, vulnerable to such as "red code" and so on

Specifically for the IIS vulnerability attack virus attacks, so many people like to use third-party FTP server software to set up.

Second, with Serv-U and other third-party FTP server software erected

In addition to IIS, there are many FTP server software can be set up, such as Wu-FTP, proFTPd, Serv-U, etc., but most are only applicable to uniX

, LinuX system, if you use WindoWs system, strongly recommended serv-u. serv-u (download address: http

 // WWW.neWhua.CoM / FTPservu.htM, with the finished 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, powerful, you can use the same ip to set multiple FTP server, limited

Login user permissions, login home directory and space size, support for remote login management, suitable for most individuals need to build their own FTP.

1. Installation

Serv-U installation than IIS is also simple. First implement the English original installation files, follow the prompts "neXt" can be. It should be noted that the election

Choose to install the directory, it is best to choose to install in a non-system disk, so as to avoid future system anomalies, but also re-set account settings.

Then implement finished file, select the original installation directory, all the way "Next" to complete the installation.

2. Settings

Unlike IIS, Serv-U prompts the user step-by-step through the wizard's first run, setting the entire process to no more than five

Minutes, very humane. For the convenience of explanation, let us assume that we have to set up a fixed IP 218.1.1.1, the port is 21, the root absolute

The path is G \ FTP, allowing anonymous access and possession of a public FTP with the username dys, password syd, and administrative account called "MyFTP"

server. Run Serv-U, pop-up wizard window, followed by setting the following options:

1) "Your IP address": Here we fill in 218.1.1.1, if you are adsl dial-up Internet, etc., has a dynamic IP or not

Know the local IP, please leave blank here.
2) "domain name": is the name of the FTP site, you can freely name, fill in "MyFTP" here.
3) "Anonymous account": Decide whether the FTP site allows anonymous users to access. Choose "Yes."
4) "Anonymous home directory": Set anonymous users to log in the site after the directory location. Enter "G \ FTP".
5) "Locked in the home directory": Assume that in the "Anonymous home directory" set anonymous user login directory location is "G: \ FTP \ Guest

"Then, after choosing" Yes ", when the anonymous user logs in to FTP, it will be locked in G \ FTP \ Guest directory and can only view the contents of the guest

The recorded content can not enter the parent directory "FTP", and the directory is displayed as "\" in the FTP client software. If it is not locked,

It will be completely displayed as "G: \ FTP \ Guest". Choose "yes" here.
6) "Named Account": Decide if you want to create an account with some administrative privileges. Choose "yes" here.
7) "Account Name": is the name of the account login with certain administrative rights. Fill in "dys".
8) "Account password": set the account login password. Enter "syd".
9) "Home Directory": As with "Anonymous Home Directory", it is used to set the location of the directory where the management account is logged in. Enter "G: \ Ftp".
10) "locked in the home directory": select "yes."
11) "Administrator privileges": used to set the management account management permission level. Here choose "no authority", then elaborate.
Set up, the address is: FTP // 218.1.1.121 FTP server set up even if the success. The last available CuteFTP were anonymous and

dys account login verification.
Tip: These settings are not the final set, you can also modify the Serv-U main interface at any time.

3. Erecting multiple FTP servers with the same IP

If the bandwidth allows, you can easily use the same IP to erect more than one server. In Serv-U, place the "local server" under the "domain."

"Each FTP server in the domain is called a" domain ". The" MyFTP "server we just created is a domain named" MyFTP. "To set up more

A server, in fact, is to create more than one domain with different ports only.

Right-click the "domain", select "new domain" in the wizard pop-up reference "MyFTP" to set, but at the port must not be with the already

Create a "domain" of the port or port occupied by other system services can conflict. If you fill in 22, the address of this server is:

FTP // 218.1.1.122. According to this, you can set up multiple FTP server.

Third, use dynamic IP domain name resolution software to set up a fixed domain name FTP server

In the above introduction, we assume that the server has a fixed IP of 218.1.1.1, in fact, most want to set up a personal FTP

Users are usually used dial-up adsl other ways. Because each time after dial-up access to the Internet are assigned to different IP addresses, then that means

FTP server can not set up it?


There are two solutions: First, in the wizard just "your IP address" blank, and then complete the other wizard settings. Enter the main Serv-U

Interface, first click "Help → Local IP Address" on the menu bar, copy the local IP address, and then inform each user through other channels. each

Dial-up once on the Internet to repeat this operation; the second is to download and install a dynamic IP domain name resolution software, such as foreign dns2Go, domestic

Peanut shell, 88IP, etc., such software can automatically resolve a fixed domain name to the local IP regardless of the local IP's change. In this way, use

As long as the user enter the domain name FTP address can access to your server. Obviously, the first method is very troublesome, you need to have

Great patience, the second is quite simple, users simply remember the domain name regardless of whether the IP change. The fly in the ointment is that the vast majority of the current

Points such software requires paid registration to permanent use, do not register only 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 with Serv-U (IIS and other FTP server software as described above)

Set up a good FTP server, pay attention to the "your IP address" Department blank, and then to http // www.88IP.net to download and install 88IP Standard Edition

.

88IP requires a paid registration to have a permanent domain name, and only 15 days if you sign up for free. Run 88IP Standard Edition client, will

Pop-up settings window. To get a domain name, you need to register first. In the "basic information", followed by fill in the user login name, valid e-mail

The address, the password and the contact telephone number, then must choose your domain name, in "the domain name material", "the domain name" box to fill in dys2, "the domain name

Suffix "drop-down box, select" 88IP.com ", then, below the" your complete domain name is "will display as dys1.88IP.com, confirm that no

After mistake, click "Register" button to register. If the registered user name or domain name has been registered by other users, the software will make the corresponding

Prompt, re-register after the amendment can be. After successful registration, "Execution Status" will display "Registration succeeded, User ID: XXXXXXXXX

", Note down the user ID for future payment or technical support needs Finally click on the" Load "button will just apply for a successful account letter

Load on this unit.

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.