Home >> web服务, Windows >> IIS7.5 ftp – Hostname didn’t match any configured ftp site.

IIS7.5 ftp – Hostname didn’t match any configured ftp site.

环境: windows 2008 r2 x64 sp1

为iis7.5配置了ftp服务,配置过程很简单:


刷新IIS服务后,在客户端却遇到了问题:

C:\Users\user4>ftp localhost
连接到 localhost。
220 Microsoft FTP Service
用户(localhost:(none)): user4thissite
530-Valid hostname is expected.
Win32 error: No such host is known.
Error details: Hostname didn’t match any configured ftp site.
530 End
登录失败。
ftp> bye

居然登录不上?别急,当iis 7.5/ftp的站点绑定了虚拟域名时,需要用 virtual_domain|username 来作为用户名登录,如下:

C:\Users\user4>ftp localhost
连接到 localhost。
220 Microsoft FTP Service
用户(localhost:(none)): localhost|user4thissite
331 Password required for localhost|suvi.
密码:
230 User logged in.
ftp> ls
ftp> bye

够戆的哈


(原文链接 http://ddbiz.com/?p=1094)

留言/有话要说

Copyright © 2012 Dimensions Data Business. All rights reserved.
server process 8.034 seconds.
WP-Backgrounds Lite by InoPlugs Web Design and Juwelier Schönmann 1010 Wien