我最近在一台新服务器上安装了Server2008FTP,并希望使用现在随IIS7.5提供的R2功能。
因为我的用户不是windows用户,所以我使用的是IISAuthManager,但是这个prodiver不提供基于用户的主目录。
我发现这个示例http://learn.iis.net/page.aspx/669/how-to-use-managed-code-c-to-create-an-ftp-authentication-provider-using-an-xml-database/是从一个简单的基于xml的用户配置开始的。但我不能让它工作。它总是带给我
Response: 530-User cannot log in.
Response: Win32 error: The system cannot find the file specified.
Response: Error details: An error occured during the authentication process.我使用procmon来获取读取xml配置文件时是否没有成功。我甚至不认为我的程序集正在被使用。
有没有人有过同样的问题?基本上,任何提示都会被忽略。
发布于 2010-12-14 23:55:53
IIS FTP自定义提供程序是调试的噩梦。在这种情况下,听起来像是配置错误,请检查您是否遵循了设置说明(或手动检查applicationHost.config)。如果你仍然需要帮助,也可以发布你的代码(inc config)。
巴里
发布于 2013-09-16 20:47:31
IIS Manager > Your site > FTP Authentication您可能禁用了所有基本身份验证和匿名身份验证。其中一个应该被启用。
https://stackoverflow.com/questions/3121182
复制相似问题