ftp_exec
Requests execution of a program on the FTP server
Description
boolftp_exec
resourceftp_stream
stringcommand
Sends a SITE EXEC command request to the FTP
server. Returns &true; if the command was successful (server sent response code:
200); otherwise returns &false;.
ftp_exec example
\n";
echo nl2br($res);
} else {
echo 'could not execute ' . $command;
}
?>
]]>
See also ftp_raw.