Home
Microsoft

While trying to connect to your FTP server hosted by IIS, you may run into “530 User cannot log in, home directory inaccessible” error. This error occurs whether you are using anonymous access or basic authentication.

 

A sample connection log from an FTP client:

 

530 User cannot log in, home directory inaccessible.
Critical error: Could not connect to server

post16.png

 

Solution

 

There might be a few reasons for running into this error. Here are the most common root causes and their solutions:

  • IIS may not be configured to use passive mode FTP. In order to use passive mode, enter a port range and IP address in “IIS > Server name > FTP Firewall Support” page

 

Note: You can configure your FTP client to use only the active mode if you don’t want to turn on passive mode

 

If you are still seeing the issue, check IIS and FTP logs (c:\inetpub\logs\LogFiles\FTPSVC2)