我运行的是 Windows 7,一段时间内它可以接受匿名 FTP 登录。但过了一段时间后,它开始出现以下故障:
C:\>ftp localhost
Connected to MY-MACHINE,
220 Microsoft FTP Service
User (MY-MACHINE:(none)): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
530-User cannot log in.
Win32 error: A specified logon session does not exist. It may already have been terminated.
Error details: An error occurred during the authentication process.
530 End
Login failed.
ftp>
如果我尝试从另一台机器而不是使用本地主机,我会得到相同的响应。
到目前为止,我发现重新启动计算机可以解决此问题,我可以再次登录。此外,如果我修改 IIS 下的 FTP 设置并将其更改为使用实际帐户而不是 IUSR 进行匿名登录,它就会再次开始工作。
有人知道为什么会发生这种情况以及如何防止它吗?