FTP Error: 530 User cannot log in, home directory inaccessible

The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network. FTP is built on Cilent-Server Architecture and it uses separate connections for control and data.

FTP client connects with FTP server with normal Username and Password information called FTP Login details. Following is a complete flow of FTP client - server connection establishment process.

 

  1. FTP client sends a DNS query for domain name to get the FTP server IP address(if you are using ftp.domain.com as FTP hostname).
  2. DNS responds back with the IP address.
  3. FTP client and server complete three way handshake process.
  4. The FTP server then sends a 220 response to indicate that the FTP server is ready to accept a login.
  5. The FTP client sends Username through USER command, and Password through PASS command.
  6. FTP Server verifies the provided login information.
  7. If provided login details are correct, FTP server will in turn sends a Welcome message.
  8. FTP client requests a directory listing.
  9. FTP server transfer the requested listing.

After specifying FTP credentials, If FTP user does not have required privileges, you may receive following error message in FTP client:


Status: Resolving address of ftp.xxxxx.com
Status: Connecting to xxx.xxx.xxx.xx:21...
Status: Connection established, waiting for welcome message...>
Response: 220 Microsoft FTP Service
Command: USER Administrator
Response: 331 Password required for Administrator.
Command: PASS ***************
Response: 530 User cannot log in, home directory inaccessible.
Error: Critical error
Error: Could not connect to server

In most cases, this error occurs only when FTP authorization rules for default FTP site are not set.

 

How to fix this error by changing FTP authorization rules!

 

  1. Login to the VPS via Remote Desktop connection as an Administrator user.

  2. Open IIS [Start → Administrative Tools → Internet Information Service].

  3. Expand Sites option from left pane.

    Open IIS Manager and go to Sites

  4. You will see a Default FTP Site in site list, expand this website.

    Go to Default FTP Site from the List



  5. Now, double click on FTP Authorization Rules option from the center pane.

    Select FTP Authorization Rules Option

  6. From the right pane, click on Add Allow Rule.

    Click on Add Allow Rule... Link

  7. Select the option of All Users and tick the check box of Read and Write permission.

  8. Click on OK button to save the changes and Restart Microsoft FTP Services to reflect them.

    Select All Users Option and Assign Read, Write Permissions


Follow below mentioned steps to restart Microsoft FTP Services:

 

  1. Open Services [Start → Run → type services.msc and Hit Enter].

  2. Select the service named Microsoft FTP Service.

  3. Click on Restart link from the left pane option.

    Restart Microsoft FTP Service

Now, try again to login to the FTP account. If everything goes fine, then you should not receive any error while connecting to your FTP account.




To avoid such errors, FTP accounts should be created with appropriate permissions. I have linked the article to properly set up the FTP account from IIS.

Looking for any other help with FTP? Don't forget to check out our Complete FTP Guide.


  • 269 Users Found This Useful

Was this answer helpful?

Related Articles

How to allow multiple RDP sessions for the single user in Windows?

Sometimes you want to access multiple concurrent Remote Desktop sessions for the same RDP user....

How do I access my Windows VPS data using FTP and transfer the files between local system and VPS?

Prerequisites: Your Windows VPS must have an FTP server installed. If it is not installed then...

How to reset password of all Windows VPS Services?

In following, we advise our Windows VPS customers to reset all the passwords. Your Windows VPS...

How Do I Point My Websites to VPS?

This article will guide you to point your websites to VPS. You can point your websites to VPS in...

Can I downgrade my Classic Windows VPS plan?

No, we do not allow Windows VPS downgrade due to the limitation of MS Hyper-V virtualization...