I've tried ftp_nlist () and ftp_rawlist () but return is always an empty array.
The question of Access / Authentication is ok, will only try to read a list if the same already connected to a user:
Example:
$dados = array('host' => 'localhost', 'usuario' => 'teste', 'senha' => '123456');
$conn = ftp_connect($dados['host']);
if (ftp_login($conn, $dados['usuario'], $dados['senha'])):
// var_dump(ftp_nlist($conn, '.'));
var_dump(ftp_rawlist($conn, '/'));
endif;