How to fix the error $ 0027 Directory list could not be retrieved $ 0027 in FileZilla

Contents

FileZilla is free software, has two versions: FileZilla Client y FileZilla Server. The client has cross-platform support but the server is only compatible with Windows. This application is used to transfer files between computers on a network. However, There have been many reports recently that users experience the error »Could not retrieve directory list» when trying to connect to the server.

failed_to_retrieve_directory_listing-4780113Could not retrieve directory list error in FileZilla

What causes the error “Directory list could not be retrieved” in FileZilla?

After receiving numerous reports from various users, we decided to investigate the problem and found a set of solutions that eradicated it for most of our users. What's more, We investigate the reasons why this issue is triggered and list some of the most common ones below.

  • Firewall de Windows: In most cases, FileZilla server was working locally but not remotely. Every time a connection attempt was made locally, this error was activated. This error is triggered because the Windows Firewall was blocking the FileZilla connection. Although the exception for a particular port could be added in the Firewall, still uses a »Passive Mode» to send and receive files. This is done on random TCP ports. Therefore, the firewall blocks these ports and this error occurs.

  • Encryption: there are several types of connection encryption that you can use when trying to connect to the server. Although some are safer than others, they can often cause problems even with legitimate connections by preventing the connection from being established.

Now that you have a basic understanding of the nature of the problem, we will look for solutions. Make sure to apply them in the specific way they are presented to avoid conflicts.

Solution 1: create a firewall rule

If the firewall is preventing FileZilla from communicating with the Internet, will not work properly and the error will occur. Therefore, in this step, we will first limit the ports for FileZilla and then add exceptions for them in the firewall. To do that:

  1. Start the "FileZilla Server" on the computer "Server".

  2. Click on the »Edit» option and select «Settings» from the list. 2019-06-19_164559-3447176Clicking on “Edit” and selecting “Setting”

  3. Click on the »Passive Mode Settings» option on the left panel and check the »Use custom port range« option..

  4. Enter »2100» in the first box and in the second box. 2019-06-19_164649-3830776Please enter 2100 in both boxes

  5. Click »OK» to save the settings.

  6. Press the buttons »Windows» + »I» simultaneously to open the configuration.

  7. Click »Update & Security» and select »Windows Security» in the left pane. 2019-06-19_162521-1119129Selecting “Update and security”

  8. Click on the option »Firewall and network protection» and select the button »Advanced settings». 2019-06-19_162613-6581274Clicking on “Advanced configuration”

  9. Left click on the »Inbound rule» option and then click the right mouse button again.

  10. Select »New rule» from the list. 2019-06-19_162335-8678312Select «New rule»

  11. Under the heading »What type of rule do you want to create«, mark the option »Port» and click «Next». 2019-06-19_162353-1640405Marking the option «Port»

  12. Check the option »TCP» and check the option »Specific local ports«. 2019-06-19_162418-1089249Check «TCP» and the option «Specific local ports»

  13. Enter »21,2100» in the space and click on «Next».

    Note: In place of 21 enter the port you selected when creating the server

  14. Check the option »Allow connection» and click »Next«. 2019-06-19_162427-2172784Click on “Allow connection”

  15. On the next screen, check the option »Private«, »Domain» and the option »Public«. 2019-06-19_162443-3272850Checking the Private options, Domain and Public

  16. Click »Next» and enter the desired name for this rule. 2019-06-19_162456-6168191Entering the rule name

  17. Click »Finish» to add this rule.

  18. Repeat this same process for »Outbound Rules» to add the same rule for it too.

  19. When these rules have been added, check if the problem persists.

Solution 2: change the encoding

Encryption settings may be causing the problem. Therefore, in this step we will change the encryption of the connection. For that:

  1. Open »FileZilla Client» on the computer »Client».

  2. Click on “File” and select “Site administrator”. 2019-06-19_164744-2434379Clicking File and selecting “Site administrator”

  3. If the server you want to connect to is not there yet, select »New site«.

  4. Add the hostname, the username and password for the connection.

  5. Click on the drop-down menu »Login type» and select »Normal«.

  6. Click on the drop-down menu »Encryption» and select »Use only simple FTP«. 2019-06-19_164824-8784142Change encryption settings

  7. Make the connection and check if the problem persists.

Solution 3: change FTP settings

In some cases, FTP settings may not be configured correctly due to the error occurred. Therefore, in this step, we will change certain FTP settings. For it:

  1. Open »FileZilla Client» in »Client» Computer.

  2. Click on »Edit» and select »Settings«. 2019-06-19_165028-4977523Clicking on “Edit” and selecting “Setting”

  3. Click on »FTP» under »Connections» and check the option »Active«. 2019-06-19_165129-6198931Clicking on FTP and checking “Active”

  4. Mark “Allow rollback to other transfer modes on failure”.

  5. Click on »Active mode» under the heading «FTP» and check the option »Ask your operating system for the external IP address«. 2019-06-19_165237-3707386Clicking on “Active mode” and marking the option “Ask your operating system for the external IP address”

  6. Click on the option »Passive mode» and check the option »Return to active mode«. 2019-06-19_165340-4261802Click on «Passive mode» and check the option «Return to active mode»

  7. Click »OK» to save the settings and check if the problem persists.

Solution 4: modify the hostname

Sometimes, when making a connection to a specific host, altering the hostname to start a certain protocol can correct the error. Therefore, in this step, we will modify the hostname. For that:

  1. Open »FileZilla Client» on the computer »Client».

  2. Click on the »Hostname« option.

  3. Enter the following before the actual name of the server

    sftp://

    2019-06-19_165455-8547706Add “sftp: //” before the server name

  4. Enter the rest of the details and check if the problem persists.

Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.