"The specified user name and password cannot be used to log on to the FTP server" SOLUTION

Source: Internet
Author: User
Tags ftp site

During the past few days, the FTP runtime environment is always unsuccessful. After the site is successfully established, enter the FTP address in the browser, but a prompt box is displayed.

No matter how many times you enter the correct user name and password, even if you enter the original Super management password, you still cannot connect to the server. At first, I thought that my IIS 6.0 was not properly installed. It may be that the FTP isolation user component was not correctly installed. Later, I ruled out this possibility. The final reason is,It turns out that I chose the "isolated user mode" every time I set up an FTP site, while IIS 6.0 has a specific requirement on the isolated user site configuration, that is, you must create a subdirectory named "localuser" under the FTP root directory, and create n subdirectories under this "localuser" subdirectory, in addition, the names of the n sub-directories must be exactly the same as the existing n users in the computer. Otherwise, even if a site is created, the connection will fail, as shown in the preceding figure.

For example, we have created an FTP site called "webftp". the root directory of the site points to the "Web" folder of the d disk. To create an FTP site in isolated user mode, follow these steps:

First, create a directory named "localuser" under the "D:/Web" Directory (Remember, the name must be "localuser ").

Step 2: Create n sub-directories under the "localuser" directory. Assume that the sub-directories are named "user1", "user2"... "usern ".

Step 3: Go to computer management and add users or user groups. Add n users. The usernames are "user1" and "user2" in sequence "... "usern" must correspond to the names of the n sub-directories created in step 2. (You can also create an ftpuser group and put the N users in the ftpuser group, finally, for the sake of security, do not forget to delete all the users you just added from the users group ).

Step 4: Open your browser and enter ftp: // your IP address, for example:FTP: // 192.168.11.3In the displayed dialog box, enter the user name and password.

After the above four steps, the isolated FTP site can run.

If you think this is troublesome, do not select the Isolation Mode in the new site wizard. In this way, you can directly link to the FTP server.

The above content is helpful to friends who encounter the same problem.

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.