$file_remoto = "ftp://{$user} : {$password} @ {$host} / {$path} / {$file}";
$a=file($file_remoto);
echo "<pre>";
print_r($a);
echo "</pre>";