FTP “530 User cannot log in” error and solution

This post has been republished via RSS; it originally appeared at: IIS Support Blog articles.

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)

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.