我刚刚在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
它已经很老了,但我发现自己处于同样的境地.我解决了在某些配置文件中给予“网络服务”的正确权限:
- 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
希望能帮助到你.