is there a way to execute/ run a certain file using ftp:
$command='exec file2.php'; ftp_exec($idlogin,$command);
That's what the [man]ftp_exec[/man] function is for. Why? Are you having a problem?