saravanansekar
saravanansekar

Reputation: 149

FTP Issue - Failed to retrieve directory listing

I have successfully login into ftp @ localhost but not able to list the home directory of ftp.

Upvotes: 1

Views: 2047

Answers (2)

Sunil R S
Sunil R S

Reputation: 11

try passive mode FTP session, you can enter into that mode by entering the passive command

Upvotes: 1

Md Azaharuddin Ali
Md Azaharuddin Ali

Reputation: 1929

This happens when you have firewall configured and have kept only port 20 and 21 opened. Change the FTP client to connect using Active or the PORT method and you will be able to connect to the FTP and retrieve the directory listing. Or else you can try after disabling the firewall.

Upvotes: 1

Related Questions