1. Error occurred while listing the files after connecting to the FTP account

2. The error is due to the improper passive port range configuration in /etc/vsftpd.conf file.

3. Therefore, open the port range 64000-64321 in /etc/vsftpd.conf file.

4. Add below 2 lines in /etc/vsftpd.conf file:


5. At last, restart the service VsFTPd.

# systemctl restart vsftpd

Now directory listing will be done by ls command

Leave a Reply