cPanel is shipped with two FTP Server PureFTP and ProFtp. PureFTP is more widely used as its more optimized for cpanel utilizing less resources. If ftp server is not properly configured with firewall users will get Failed to retrieve directory listing error and FTP client will be struck loading directory index.