Background: The company has some business running on the Windows 2008r2 on the IIS7.5, recently in the migration business, in order to facilitate the transfer of data directly on the above FTP service, the following main introduction of the FTP account set up and encountered problems.
First, create an FTP
1. Create Windows account
Right-click on the computer----Manage----Server Manager----Configure----Local Users and Groups----Right-click New user, enter a user name and password, and check that the password never expires.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m00/87/5b/wkiol1feuu6sophiaadygozohjk462.png "border=" 0 "height=" 354 "/>
2. Create a Directory
Under the D:\www\ directory, create a directory named Test1, which is the home directory where the user logs on to FTP as test1. Add a test1 user's readable, writable, modifiable permissions to the directory
3. Add an FTP site to IIS
Run "inetmgr" to open the IIS console, right click on "Web Site" and select "Add FTP Site". The specific configuration items and their values are as follows:
FTP Site Name: HELLO.abc.com (the domain name used here, the subsequent connection will be error; The domain name is also not available.) This FTP is not mapped to an extranet and does not have DNS resolution. Just use it in the intranet)
Physical path: D:\www\test1
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/87/5E/wKiom1feUl_RxzlFAABd8O1Fa3c450.jpg-wh_500x0-wm_3 -wmp_4-s_960355638.jpg "title=" d25ee150-e423-4c29-a747-2925cabd84c5.jpg "alt=" Wkiom1feul_ Rxzlfaabd8o1fa3c450.jpg-wh_50 "/>
IP Address: All Unassigned
Port: 21
Enable virtual host name: No tick
Automatically start FTP site: tick
SSL: None
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m01/87/5b/wkiol1feuvhjw3pxaadwpaoqdne560.png "border=" 0 "height=" 421 "/>
Authentication: Basic
Allow access: Specify user, Test1
Permissions: Read, write
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m02/87/5e/wkiom1feuvlghppzaacnyzfk0m4167.png "border=" 0 "height=" 354 "/>
Second, the problems encountered.
1. When connecting FTP with FileZilla, error 530 Valid hostname is expected?
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m00/87/5e/wkiom1feuvorzw9yaaf9t_xfrvk934.png "border=" 0 "height=" 333 "/>
Cause: I used the domain name when I created the FTP. This error does not occur when you do not use a domain name.
Workaround: Precede the connection user name with the domain name, format: hello.abc.com|test1
2. If an FTP account is assigned multiple virtual directory permissions, and each virtual directory is on a different disk, How do I switch directories when using FileZilla to connect to FTP?
Workaround: You can implement a directory switch by simply entering the virtual directory alias----the remote site.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/87/60/wKiom1feVOazVMnqAADMmf3XyQU400.jpg "title=" C4794f1f-0f05-4f65-ac38-503e6bc00d15.jpg "alt=" Wkiom1fevoazvmnqaadmmf3xyqu400.jpg "/>
3. How do I view the version number of IIS?
Workaround: Run "inetmgr" to open the IIS console. Help----about Internet Information Services.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m02/87/5b/wkiol1feuvsggmuyaag56u7okk4310.png "border=" 0 "height=" 383 "/>
This article is from the "Technical Achievement Dream" blog, please be sure to keep this source http://pizibaidu.blog.51cto.com/1361909/1853708
Windows 2008R2 IIS7.5 Creating an FTP account and encountering problems