Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filezilla FTP Server Fails to Retrieve Directory Listing

Tags:

filezilla

ftp

I'm running Filezilla Server 0.9.45 beta to manage my server remotely. After setting it up, I tested connecting to it using the IP 127.0.0.1, and it worked successfully. However, to connect to the server remotely, I port forwarded to port 21, and tried to connect using my computer's IP.

Status: Connecting to [My IP]:21...
Status: Connection established, waiting for welcome message...
Response:   220 Powered By FileZilla Server version 0.9.45 beta
Command:    USER hussain khalil
Response:   331 Password required for user
Command:    PASS *********
Response:   230 Logged on
Status: Connected
Status: Retrieving directory listing...
Command:    CWD /
Response:   250 CWD successful. "/" is current directory.
Command:    PWD
Response:   257 "/" is current directory.
Command:    TYPE I
Response:   200 Type set to I
Command:    PORT 192,168,0,13,205,63
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

This continues to work locally, but not when connecting remotely... How can I fix this?

like image 214
Hussain Khalil Avatar asked Jul 04 '14 04:07

Hussain Khalil


People also ask

Why does FileZilla not connect to server?

An incorrect port number can be a reason for getting the error message, could not connect to server in FileZilla. By default, FileZilla has Active mode connections to transfer the files. In Active Mode, the FTP connections are not firewall-friendly and this may lead to connectivity issues.

Does not support FTP over TLS?

While not strictly an error this status message indicates you are trying to connect to a FTP server which does not support TLS. In this case you have to change the connection encryption configuration to Only use plain FTP (insecure).


Video Answer


2 Answers

I just changed the encryption from "Use explicit FTP over TLS if available" to "Only use plain FTP" (insecure) at site manager and it works!

like image 77
Vangelis Kotrotsios Avatar answered Oct 11 '22 09:10

Vangelis Kotrotsios


File > Site Manager > Select your site > Transfer Settings > Active

Works for me.

like image 85
Marcos Nakamine Avatar answered Oct 11 '22 10:10

Marcos Nakamine