Warning: ftp_exec(): Unknown SITE command.
the code looks something like this...
<?php
$conn = ftp_connect($host, $port);
$command = "ls -l ";
if (ftp_exec($conn, $command)) {
echo "$command executed successfully\n";
} else {
echo "could not execute $command\n";
}
?>