Failed to retrieve directory listing filezilla

 

Hi,

If you are receiving the following FTP error while connecting to the server then probably your server is missing the kernel module“ip_conntrack_ftp” and you need to install it.

 

Status:	Connecting to xx.xx.xx.xx:21...

Status:	Connection established, waiting for welcome message...

Response:	220 ProFTPD 1.3.3c Server (ProFTPD) [xx.xx.xx.xx]

Command:	USER user

Response:	331 Password required for userCommand:

PASS ********Response:	230 User user logged in

Command:	SYSTResponse:	215 UNIX Type: L8

Command:	FEATResponse:	211-Features:

Response:	 MDTM

Response:	 MFMT

Response:	 TVFS

Response:	 MFF modify;UNIX.group;UNIX.mode;

Response:	 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;

Response:	 REST STREAM

Response:	 SIZE

Response:	211 EndStatus:	Connected

Status:	Retrieving directory listing...

Command:	PWDResponse:	257 "/" is the current directory

Command:	TYPE IResponse:	200 Type set to I

Command:	PASVResponse:	227 Entering Passive Mode (xx,xx,xx,xxx,xxx,xxx).

Command:	MLSD

Error:	Connection timed out

Error:	Failed to retrieve directory listing

 

Steps to install “ip_conntrack_ftp”


#modprobe ip_conntrack_ftp

and add this module in

/etc/sysconfig/iptables-config

at

IPTABLES_MODULES="ip_conntrack_ftp"

#/etc/init.d/iptabes restart

Thats it, you can go for a tea.!.. 🙂

Leave a Reply

Protected by WP Anti Spam