Ler fichero remoto por FTP (alojado en Linux)

Prazer
08 de Febrero del 2006
Por favor, tengo problemas com una conexión ftp a un fichero remoto … el mismo está en una máquina com linux. Espero alguna sugerencia.
Gracias.
A continuación el código que estoy testanto ...

Código de teste:
<?php
$file = fopen(\\\\\\\\\\\\\\\"ftp://navis:[email protected]:21/NavisRadius/logs/127.0.0.1.log\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"r\\\\\\\\\\\\\\\");
if (!$file) {
echo \\\\\\\\\\\\\\\"<p>Unable to open remote file.\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\";
exit;
}
while (!feof ($file)) {
$line = fgets ($file, 1024);
if (eregi (\\\\\\\\\\\\\\\"<title>(.*)</title>\\\\\\\\\\\\\\\", $line, $out)) {
$title = $out[1];
break;
}
}
fclose($file);
?>

Salida:
Warning: fopen(ftp://[email protected]:21/NavisRadius/logs/127.0.0.1.log) [function.fopen]: failed to open stream: FTP server reports 550 Could not get file size. in C:\\\\\\\\\\\\\\\\Inetpub\\\\\\\\\\\\\\\\wwwroot\\\\\\\\\\\\\\\\movinet\\\\\\\\\\\\\\\\_debug_tmp.php on line 3

Unable to open remote file.