Complete PHP FTP Reference
The ftp_exec() function requests a program or command to be executed on the FTP server.
This function returns TRUE on success and FALSE on failure.
| Parameter | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to use |
| command | Required. Specifies the command request to send to the FTP server |
Note: Unlike the ftp_raw() function, ftp_exec() can only send commands after it is logged in to the FTP server.
Complete PHP FTP Reference
Your message has been sent to W3Schools.