IIS7 Windows Server 2008 FTP ->响应:530 用户无法登录

IIS7 Windows Server 2008 FTP ->响应:530 用户无法登录

我刚刚按照 IIS.NET 的许多教程启动了我的第一个 IIS FTP 站点...我使用的是 IIS 用户和权限,而不是匿名和/或基本。

这是我尝试建立连接时看到的内容......

Status:    Resolving address of ftp.mydomain.com 
Status:    Connecting to ###.###.##.###:21... 
Status:    Connection established, waiting for welcome message... 
Response:  220 Microsoft FTP Service  
Command:   USER MyFTPUser  
Response:  331 Password required for MyFTPUser. 
Command:   PASS ********************  
Response:  530 User cannot log in. 
Error:     Critical error 
Error:     Could not connect to server

答案1

它已经很老了,但我发现自己也处于同样的情况。我解决了在某些配置文件上授予“网络服务”正确权限的问题:

CACLS “%SystemDrive%\Windows\System32\inetsrv\config” /G “Network Service”:R /E
CACLS “%SystemDrive%\Windows\System32\inetsrv\config\administration.config” /G “Network Service”:R /E
CACLS “%SystemDrive%\Windows\System32\inetsrv\config\redirection.config” /G “Network Service”:R /E

希望能帮助到你。

答案2

在 Windows Server 2008 上,您现在必须使用这些命令:

ICACLS "%SystemDrive%\Windows\System32\inetsrv\config" /Grant "Network Service":R /T

ICACLS "%SystemDrive%\Windows\System32\inetsrv\config\administration.config" /Grant "Network Service":R

ICACLS "%SystemDrive%\Windows\System32\inetsrv\config\redirection.config" /Grant "Network Service":R

答案3

在我的情况中,我缺少角色服务 FTP 扩展功能,它实际上允许 IIS 管理器身份验证。这非常棘手,因为您可以允许 IIS 管理器身份验证,但如果您没有安装 FTP 扩展功能,它仍然无法工作

答案4

看起来您无法连接到服务器。该问题与密码无关。我不确定您说“

使用 IIS 用户和权限,而不是匿名和/或基本

您需要实施某种身份验证,无论是匿名身份验证还是基本身份验证。请按照以下步骤操作文章你应该表现得很好。

相关内容