ftp_exec

ftp_exec

(PHP 4 >= 4.0.3, PHP 5, PHP 7)

ftp_execRequests execution of a command on the FTP server

Description

bool ftp_exec ( resource $ftp_stream , string $command )

Sends a SITE EXEC command request to the FTP server.

Parameters

ftp_stream

The link identifier of the FTP connection.

command

The command to execute.