I know these are old posts but maybe someone searching for a solution might find this helpful: To get rid of this error I needed to enable passive mode on vsftpd running on RHEL 8.
- Robert EM
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Timeout detected. (data connection)
Could not retrieve directory listing
Error listing directory '/public_html/contents'.