Failed to retrieve directory listings

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
HugATree
504 Command not implemented
Posts: 6
Joined: 2018-05-31 17:55
First name: paul
Last name: brooks

Failed to retrieve directory listings

#1 Post by HugATree » 2018-05-31 18:05

I will give you the brief version then if you need more information just ask.

I have been using FileZilla for years and found it to work great! I had to have my host move my files to a server that had a higher version pf PHP and now I cannot get into my files using FileZilla. It connects but then comes back with, Failed to retrieve directory listings. They cannot seem to help either so am hoping you can tell me what to do.

On top of that one of my websites is not accessible either which is the main site when i use FileZilla. I tried my other site but would not even connect. I have to get into my files to fix the problem but the problem has to be fixed before I can get to my files. As you see I am stuck.

Any Ideas?
Thanks

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Failed to retrieve directory listings

#2 Post by botg » 2018-05-31 18:30

A complete log would be nice.

HugATree
504 Command not implemented
Posts: 6
Joined: 2018-05-31 17:55
First name: paul
Last name: brooks

Re: Failed to retrieve directory listings

#3 Post by HugATree » 2018-05-31 18:51

I am sorry but I am not sure what log you want. I know just enough to do what I need to do but when it does not work I am stuck. Is this what you want to see?

Status: Resolving address of www.mysorefigtree.com
Status: Connecting to 185.20.50.222:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (185,20,50,222,232,228)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Resolving address of www.mysorefigtree.com
Status: Connecting to 185.20.50.222:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (185,20,50,222,239,4)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Failed to retrieve directory listings

#4 Post by botg » 2018-05-31 19:09

Most likely some firewall or NAT router is interfering with the connection. You can use https://ftptest.net/ to check whether it's a server-side or client-side problem.

HugATree
504 Command not implemented
Posts: 6
Joined: 2018-05-31 17:55
First name: paul
Last name: brooks

Re: Failed to retrieve directory listings

#5 Post by HugATree » 2018-05-31 19:19

I checked but that did not tell me anything. Just the same as what it tells me when I tried with FileZilla.

Here is something else I did not say earlier.

I have another website using the same host but different log in information. I can still get into it without any issues. To me that tells me it is not my computer or FileZilla. Also The host tells me he can get into my account using FileZilla using the same information.

There is something that is not right somewhere.

HugATree
504 Command not implemented
Posts: 6
Joined: 2018-05-31 17:55
First name: paul
Last name: brooks

Re: Failed to retrieve directory listings

#6 Post by HugATree » 2018-05-31 19:35

When I try to get into my website it gives me this,

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/mysorefi/public_html/includes/application_top.php on line 18

I think this is my problem. I went in another way and found the file and found the load. Would there might be someone out there that can tell me what to change to correct this problem?

Thanks in advance for the help
Paul
Last edited by boco on 2018-05-31 19:41, edited 1 time in total.
Reason: Please don't post links to your website, this is seen as spam.

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: Failed to retrieve directory listings

#7 Post by boco » 2018-05-31 19:40

I checked but that did not tell me anything. Just the same as what it tells me when I tried with FileZilla.
That actually tells us that the error is with the server. You basically rule out your side and the FileZilla Client, by using the test. If the test site still fails,then the server is at fault (the website test client is known-to-be-good and not blocked in any way).

Please note that while it's the same hoster, technically, they could have hundreds of distinct FTP servers (for load balancing). The larger the hoster is, the greater the chance they use load balancing.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: Failed to retrieve directory listings

#8 Post by boco » 2018-05-31 19:44

HugATree wrote:
2018-05-31 19:35
When I try to get into my website it gives me this,

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/mysorefi/public_html/includes/application_top.php on line 18

I think this is my problem. I went in another way and found the file and found the load. Would there might be someone out there that can tell me what to change to correct this problem?

Thanks in advance for the help
Paul
That warning (not error) doesn't have anything to do with FTP at all. It just tells you that your PHP code uses a function that's deprecated (and soon to be removed) in the PHP version the hoster offers to you. You have to update your code to use supported functions of PHP (the PHP website actually gives good documentation about the replacement of deprecated features).
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

HugATree
504 Command not implemented
Posts: 6
Joined: 2018-05-31 17:55
First name: paul
Last name: brooks

Re: Failed to retrieve directory listings

#9 Post by HugATree » 2018-05-31 20:01

thanks for all the help
I will check that out.

HugATree
504 Command not implemented
Posts: 6
Joined: 2018-05-31 17:55
First name: paul
Last name: brooks

Re: Failed to retrieve directory listings

#10 Post by HugATree » 2018-05-31 21:41

I tried that but could not figure out how to fix. I did learn that it is in a program that I have to update but that is why this all started. At this point I do not know what to do. I have program that needs updating but to update I have to have higher version of php but when I updated the php I lost control of site and files and now cannot even get into them. Apparently I cannot fix this so might just have it put back. unless someone has any ideas.

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: Failed to retrieve directory listings

#11 Post by boco » 2018-06-04 22:25

So you can update (or select) the PHP version?

It's the other way: Some PHP code on your page uses functions designed for an older version of PHP. Later PHP versions will occasionally deprecate features and issue a warning so webmasters get proper notification in advance that the feature(s) will no longer be part of the next major release.
Using updated PHP code (recommended) or selecting an older PHP version (not really recommended) should silence the warning.

However, that's got nothing to do with the FTP issue at hand. The site test failed in exactly the same way your client did, so the issue is fully at the server's end.

Something to try, as some providers offer an alternative protocol: Try connecting with protocol set to SFTP. It uses port 22 instead of 21, that's normal.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply