Setup of the built-in FTP components under Win7

Source: Internet
Author: User
Tags ftp site

FTP is one of the most convenient schemes for sharing files in LAN. Win7 internal integration of FTP, just set up a lot of effort. The text to remember.

First, install the FTP component

Because Win7 does not have the FTP component installed by default. So the first step of FTP Setup is to install the FTP component

Click: Control Panel-"programs and features-" To turn Windows features on or off. Tick "FTP Server" and "FTP Service" "FTP Extensibility" and click "OK" to install the FTP component. As shown

    

Second, add the FTP site

Click on: Control Panel-management tool. Select Internet Information Services (IIS) Manager,

    

Double-click Internet Information Services (IIS) Manager. The Popup Manager interface, as shown in:

    

Click to select Web site, and right-click on it, select "Add FTP Site" and the "Site Information" interface appears as follows:

    

Name the FTP (in this case: Zhu), and set the physical path of the FTP site (in this case: C:\FTP), click "Next", the "Bindings and SSL Settings" interface appears, as shown in

    

IP is set to the local IP address, the port with the FTP default 21,ssl tick "None". Click "Next" and the "Authentication and Authorization Information" interface appears, as shown in:

    

If you just want to set up simple FTP, both "Authentication" and "Authorization" check "anonymous" and set the appropriate permissions for anonymous. In this example, also to the FTP configuration account, as well as account permissions, so "Authentication" tick "basic", "authorization" tick "not selected", click "Finish" to complete the FTP site settings.

Third, set up FTP account and permissions

Because the FTP account under Win7 is a Windows user account. Therefore, the first need to add two user accounts, one is view, you can browse, download FTP content, one is admin, Full Control ftp.

Click: Control Panel-"Management tools-" Computer Management. On the left side of the Computer Management interface, click on: System Tools-Local Users and groups-users, display all users on the right. As shown in the following:

    

Right-click on "User" and the "New user" appears as follows:

    

Enter view in the username, set the password, remove the tick "User must change Password next time", tick "user Cannot change password" and "Password Never Expires". Click "Create" to complete the creation of the user view. The same steps to create the Admin user. Because Windows adds a user to the Users group by default, you can remove the two users from the Users group. By clicking on "group" in the "Computer Management" section, find the users in the list on the right, double click on it, the following interface appears, point user view, click "Delete", click the user admin, click "Delete". Remove two users from the Users group.

    

Next, in the FTP site, add permissions to view and admin.

Click: Control Panel-Administrative Tools-Internet Information Services (IIS) Manager. Click the new FTP site that you just created. Click "FTP Authorization Rules" in the As shown in the following:

    

Click Edit Permissions on the right to add user rights to the FTP site folder. In the pop-up window, click on the "Security" tab. As shown in the following:

    

Click "Edit", the window with the permission appears, as follows:

    

Click "Add", enter view in "Enter the object name to select", click "OK" to add the view user. As shown below:

    

Added view user, default is only read, list permissions. Add the Admin user in accordance with the law to add Full Control permissions to the Admin user. As shown below:

    

Go back to the Internet Information Services (IIS) Manager window, double-click the FTP authorization rule that you just selected, and authorize the view and admin in the FTP site. As shown below:

    

Click "Add Allow Rule" on the right, and in the pop-up window, tick "specified user", enter view, and in the "Permissions" below, tick "read". As shown below:

    

Click OK to add the view user to the FTP site, and the appropriate permissions are read. Add the Admin user to the FTP site, and the appropriate permissions are read and write.

At this point, the FTP site settings are complete. The site folder is the C:\ftp,view user has read (browse and download) permissions, the Admin user has read and write (upload and delete) permissions. Of course, you can add users and corresponding permissions according to the actual situation, you can also add users to groups, and then set permissions for the group. You can also add anonymous users, and so on.

However, things are far from over. If you're in a hurry to do the test. Will find that the test is normal on this machine, but the other machine test FTP, you will find that the connection is not. The problem is the firewall under Win7. If you turn off the firewall, you'll find that FTP is back to normal, but you can't just turn off the Win7 firewall because you want to use FTP. If you want to use the Win7 when the firewall is open, you have to set it up in the firewall.

Iv. Firewall Settings for Win7

Click: Control Panel-"Windows Firewall." Click "Allow programs or features through Windows Firewall" on the left, select "FTP Server" and check the two boxes below, as follows:

    

This is the firewall setting for most of the online introductions. However, if you do the test, you will find that it is still not connected. You must also make further settings in the firewall.

Click "Allow another program to run" below, in the pop-up window, click "Browse", find C:\Windows\System32\inetsrv\inetinfo.exe, click Add, that is, Internet infomation Services in. Select the two boxes that follow. Because FTP is a component of IIS under Win7, IIS must also be set to allow in the firewall. IIS is not in the default list, so it has to be added manually.

Unfortunately, FTP is still not working properly with this setting. Because FTP uses port 21, outbound and inbound port rules are added to the firewall.

In Windows Firewall window, click "Advanced Settings" on the left, pop up the Advanced Security Firewall window, click "Inbound Rules" on the left, as shown in:

    

Click "New rule" on the right, the wizard screen appears, tick "port",

    

Click "Next", Check the TCP (FTP with the TCP protocol), and then check the specific local port, input (FTP is 21 port):

    

Click "Next", tick "Allow connection",

    

Click "Next", the default is selected,

    

Click "Next" to enter a name in the title, in this case 21,

    

Click "Done" to complete the settings of the inbound rules, in the same way, to complete the outbound rule settings, the same is 21 port.

At this point, the firewall on the Win7 has been set up. Now the test is basically normal.

However, there is a small problem:

When using IE to browse the FTP, although you can log in, but unable to display the FTP content. This is the setup problem for IE. In Internet Options, the "Use Passive FTP (for firewall and DSL modem compatibility)" Check-out resolves an issue that cannot be browsed. As shown in the following:

  

Post Overall, Win7 's built-in FTP settings are more cumbersome than some third-party FTP software settings. But in some cases, you can only use Win7 's built-in FTP. The above content is collected on the Internet, plus my own pro-test. If you have any questions on the FTP settings, please feel free to communicate.

Reprinted from: http://www.cnblogs.com/grenet/archive/2012/05/04/2480682.html

Setup of the built-in FTP components under Win7

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.