IIS7.5 Configuring FTP publishing on an existing Web site

Source: Internet
Author: User
Tags ftp login ftp site

IIS7.5 has a lot of new features, such as the built-in fashcgi,rewrite module, easy FTP publishing, and so on, but even Microsoft, there is no detailed documentation, this article describes in detail how to build an existing Web site FTP publishing.

There are many articles on the IIS 7.5 configuration Web site, but there are few articles on how to configure FTP on an existing Web site, and even if there is, the key place is not spoken, here is a complete solution for you.

Perhaps the attentive classmate has noticed that in IIS7.5, right click on the published Web site, there will be an option to add FTP publishing?

Yes, this function is to publish the FTP site on the existing Web site, the root directory of the FTP site is the root directory of the Web site, excited! For many years I want the function is this, previously also need to install a separate server-u, now IIS7.5 are built-in, too convenient!

Don't rush to "add FTP release" because you're not ready!

First add the user to access the FTP site, this user is a normal account under Windows, there are other articles on the Internet that must add this account to the Guests group, after the experiment, not necessary, that is the statement of conformity.

Here we add a user named Webmaster account, must remember the password Oh! Of course, you can also use Administrator's account to manage FTP sites, but this is not recommended.

After the establishment of the account used to manage the FTP site, we also have to assign permissions to the Webmaster account, or access to the FTP site, this is important, this webmaster account must have access to the server's physical location on the Web root directory permissions (Web root, is the FTP root directory that we want to configure), in IIS Manager, right-click the site and select Edit Permissions

Click the Edit button to add the webmaster user to the Permissions list and give full access permissions.

Add webmaster Account

Click Advanced ... Button

Click Find Now, find webmaster user, click OK

Select the webmaster user to give Full Control permission.

If the above steps are wrong, when you log in to FTP, there will be a 530 error.

Ready to finish the work, you can formally start to configure the FTP server!

Choose to add an FTP publication

(Xee: I chose the IP address and SSL None, feel no difference)

It is recommended to enable the virtual hostname (to be consistent with the site domain name, or the domain name that has already been resolved!) mother Egg, that domain name does not parse, can visit? ), the virtual hostname, you are bound to the domain name of this host, this can try it yourself, the benefits of doing so, if there are multiple Web sites on a host, you can give each Web site to configure an FTP site, but must pay attention when landing

The FTP login name is: www.hotuav.com|webmaster (virtual hostname | user name) in the middle with a vertical line split, other options please Tiger.

If the login name does not add a virtual hostname, the 530 Valid Hostname is expected error will appear!

(Xee: I had a problem last night. "Cannot display this page" does not show the specific problem, the general settings are correct, is not open ftp, switch to IE kernel mode, open an understandable error message appears;

Workaround: then first: The default 21 port (access, to follow your settings to access!) ); second: the login name follows www.weishangtui.cn[no port number] |master.

)

Here fill in the designated user webmaster, this user must exist, or the published FTP site is unable to login!

It's over? Even I was very surprised, it is so simple!

However, the next content is the most serious, the most serious! Because the official IIS website, including Microsoft, does not speak this content!

Refresh IIS Manager, click on the published FTP site, the content area on the right to start displaying FTP-related content, click FTP user Isolation

The default user isolation method, to the FTP root directory, after my experiment, the user is isolated, webmaster users can only access the FTP root directory of things, the other directory it does not go in.

If FTP user isolation is not configured, the 530 user cannot log in, home directory inaccessible is reported. Such a mistake!

Configuration completed, we go to the client to verify login once

The command line input password is not displayed, from the interface, the login is successful, and lists the Web root directory of the file!

Use the Explorer to see that the FTP is successfully accessed.

Summary: It is very easy to publish FTP under IIS7.5 's existing Web site, just create users correctly, specify user permissions, and configure FTP user isolation.

Xee: When giving someone's account password, unless it is temporary, otherwise:

In the browser input
Ftp://abc:[email protected]
You can do it.

It's possible to leak the code.

In addition to configuring multi-user FTP, you can refer to: IIS7.5 Configuring multi-user FTP

< reference:http://www.rcdevice.com/cn/page85.html>

IIS7.5 Configuring FTP publishing on an existing Web site

Related Article

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.