he agregado algo, que pense podia funcionar, pero no lo hace :(
Código PHP:
$contenidos = ftp_nlist($cid, "/www/proyectos/rnm/images/");
if (is_array($contenidos))
{
if (in_array(''.$row['products_image'].'', $contenidos))
{
echo 'The file <font color="red">'.$row['products_image'].'</font> already exists on server<br>';
ftp_close($cid);
}
}
pero creo que por ahi puede ir, no?