ftp_exec

(PHP 4 >= 4.0.3)

ftp_exec --  Request execution of a program on the ftp server.

Description

bool ftp_exec ( resource stream, string command)

Sends a SITE EXEC command request to the ftp server. Returns FALSE if the request fails, returns the output of the command otherwise.