ftp does not retrieve directory

postey

New member
Joined
Mar 28, 2013
Messages
3
Using any ftp client- Am able to successfully log on with correct username and password. However I get connection timed out when attempting to retrieve a directory. Anyone have a suggestion what I can do ?

It does the same for both:
domain.com and ftp.domain.com
 
Make sure the passive ports you have setup in the ftp config are allowed through the server firewall. Post any errors you get from your ftp client.
 
Response: 230 User ____ logged in
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (__,__,___,___,___,_).
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing


Is the response I get on any computer I try to access from.
 
Do you have csf/lfd installed?
If yes, check if you have LF_DISTFTP set to some value. If yes, check csf.tempban and csf.deny if you're not banned. We got this problem this week with a couple of users.

If you don't have csf or don't have this setting active, you might want to try another ftp client, see if that makes any difference.
 
I do not have that setting active or installed.
I have tried several different ftp clients with no success.

I am able to retrieve other directories from different locations, just not the one linked with directAdmin it seems.
 
CSF/LFD is a firewall script to be used with iptables.
I was thinking it could be a firewall issue or a rights/ownership issue.
 
Back
Top