One of ourVPS customers was receiving following error message while trying to login tothe FTP account:Status: Resolving address offtp.xxxxx.comStatus: Connecting to 173.248.xxx.xx:21...Status: Connection established, waiting for welcome message...Response: 220 Microsoft FTP ServiceCommand: USER AdministratorResponse: 331 Password required for Administrator.Command: PASS ***************Response: 530 User cannot log in, home directory inaccessible.Error: Critical errorError: Could not connect to server
Client isrunning IIS 7.5 & Microsoft FTP 7.5 in Windows Server 2008 R2. After doingresearch, we found that FTP authorization rules were not set for Readpermissions to "All Users" inDefault FTP Site. We have added this rule by following below mentioned steps:
1.Login to theVPS via remote desktop connection as an administator user
2.Open IIS[Start -> Administrative Tools -> Internet Information Service 7.5]
3.Double clickon Sites
4. Double clickon Default FTP Site
5.Double clickon FTP Authorization Rules
6. Click on AddAllow Rule... link
7.Select theoption of All Users
8.Select Readpermissions check box
9.Click on OKbutton to submit the changes
Once youfollow above steps, you need to restart Microsoft FTP Services by following thebelow mentioned steps:
1.Click onStart -> Administrative Tools -> Services
2.Select theservice named Microsoft FTP service
3.Click on Restartlink
Try again tologin to the FTP account. If everything goes fine then you should not receivethe error message
原文地址: