Filezilla - Failed to retrieve directory listing

Moderator: Project members

Post Reply
Message
Author
anveshprajapati
504 Command not implemented
Posts: 7
Joined: 2016-04-12 04:57
First name: Anvesh
Last name: Prajapati

Filezilla - Failed to retrieve directory listing

#1 Post by anveshprajapati » 2016-04-30 05:11

I've set up a self signed certificate in FileZilla server and enabled FTP over TLS. When I connect from the client FileZilla, I am able to authenticate,1-2 time per day i am get directory listing ...


Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Status: Directory listing of "/" successful

But remaining time cannot get a directory listing



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 current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PORT 192,168,1,119,88,109
Response: 200 Port command successful
Command: MLSD
Response: 150 Opening data channel for directory listing of "/"
Response: 425 Can't open data connection for transfer of "/"
Error: Failed to retrieve directory listing

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

Re: Filezilla - Failed to retrieve directory listing

#2 Post by botg » 2016-04-30 06:25

Any particular reason you are using active mode?

Is the server located in the same LAN as the client you are connecting from?

anveshprajapati
504 Command not implemented
Posts: 7
Joined: 2016-04-12 04:57
First name: Anvesh
Last name: Prajapati

Re: Filezilla - Failed to retrieve directory listing

#3 Post by anveshprajapati » 2016-04-30 06:49

Yes i will use active mode for security purpose.
No, the server is not located in the same LAN.

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

Re: Filezilla - Failed to retrieve directory listing

#4 Post by botg » 2016-04-30 08:03

In this case the client isn't configured correctly. It presents an unroutable private IP address to a server in another LAN, that cannot work. Please read the Network Configuration guide and configure the client as well as all firewalls and NAT routers accordingly.

Note that both active and passive mode are equally secure, it makes no difference which one you use from a security standpoint.

anveshprajapati
504 Command not implemented
Posts: 7
Joined: 2016-04-12 04:57
First name: Anvesh
Last name: Prajapati

Re: Filezilla - Failed to retrieve directory listing

#5 Post by anveshprajapati » 2016-04-30 08:08

I have tried to connect from another pc in same LAN, but did not connect any times.
our IP address already configured in Server's firewall rule.

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

Re: Filezilla - Failed to retrieve directory listing

#6 Post by botg » 2016-04-30 08:34

Which address did you use to connect from within your LAN?

anveshprajapati
504 Command not implemented
Posts: 7
Joined: 2016-04-12 04:57
First name: Anvesh
Last name: Prajapati

Re: Filezilla - Failed to retrieve directory listing

#7 Post by anveshprajapati » 2016-05-02 04:49

we are using static IP address to connect with in LAN.

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

Re: Filezilla - Failed to retrieve directory listing

#8 Post by boco » 2016-05-02 05:14

Yes, but are you using LAN IPs? The private type? Because using public internet IPs in the same LAN as the server does usually NOT work at all. Normally NAT declares public IPs invalid inside the LAN.
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

anveshprajapati
504 Command not implemented
Posts: 7
Joined: 2016-04-12 04:57
First name: Anvesh
Last name: Prajapati

Re: Filezilla - Failed to retrieve directory listing

#9 Post by anveshprajapati » 2016-05-02 05:33

Yes, we are using LAN Ip and is of public type.

"Normally NAT declares public IPs invalid inside the LAN." - If this is true, then how i can connect in all my pc using Plain FTP.
I am confused. Can you please explain ?

This issue only happens while using FTP over TLS not for Plain FTP.

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

Re: Filezilla - Failed to retrieve directory listing

#10 Post by botg » 2016-05-02 06:30

Please read the Network Configuration guide for instructions, pay special attention to the section about malicious routers and firewalls.

anveshprajapati
504 Command not implemented
Posts: 7
Joined: 2016-04-12 04:57
First name: Anvesh
Last name: Prajapati

Re: Filezilla - Failed to retrieve directory listing

#11 Post by anveshprajapati » 2016-05-02 06:46

My issue has not been resolved yet.

Thanks for your support.

Post Reply