I am trying to connect to a FTP server with Filezilla. It was working when I was using broadband but when I use my college internet it says:
Error: Connection timed out Error: Failed to retrieve directory listing
I tried both passive and active mode but all in vain. It connects but fails to give directory listing.
Below is the complete log for active mode
Status: Resolving address of where2service.com Status: Connecting to 166.62.2.1:21... Status: Connection established, waiting for welcome message... Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Response: 220-You are user number 22 of 500 allowed. Response: 220-Local time is now 05:09. Server port: 21. Response: 220-This is a private system - No anonymous login Response: 220 You will be disconnected after 3 minutes of inactivity. Command: USER where2service Response: 331 User where2service OK. Password required Command: PASS *********** Response: 230 OK. Current restricted directory is / Status: Server does not support non-ASCII characters. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PORT 192,168,126,200,228,90 Response: 200 Port command successful. Command: MLSD Response: 150 Accepted data connection Response: 226-Options: -a -l Response: 226 18 matches total Error: Connection timed out
Below is the log for passive mode:
Status: Resolving address of where2service.com Status: Connecting to 166.62.2.1:21... Status: Connection established, waiting for welcome message... Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Response: 220-You are user number 20 of 500 allowed. Response: 220-Local time is now 05:13. Server port: 21. Response: 220-This is a private system - No anonymous login Response: 220 You will be disconnected after 3 minutes of inactivity. Command: USER where2service Response: 331 User where2service OK. Password required Command: PASS *********** Response: 230 OK. Current restricted directory is / Status: Server does not support non-ASCII characters. Status: Connected 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 (166,62,2,1,174,209) Command: MLSD Response: 150 Accepted data connection Response: 226-Options: -a -l Response: 226 18 matches total Error: Connection timed out Error: Failed to retrieve directory listing
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.
It working fine after update my Encryption to "Only use plain FTP (insecure)"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With