Easy Tutorial
❮ Func String Substr Replace Php Image Type To Mime Type ❯

PHP ftp_exec() Function



Definition and Usage

The ftp_exec() function requests the execution of a program or command on the FTP server.

If successful, the function returns TRUE. If it fails, it returns FALSE.

Syntax

Parameter Description
ftp_connection Required. Specifies the FTP connection to use.
command Required. Specifies the command request to send to the FTP server.

Tips and Notes

Note: Unlike the ftp_raw() function, ftp_exec() can only send commands after logging into the FTP server.


Example


❮ Func String Substr Replace Php Image Type To Mime Type ❯