Complete PHP FTP Reference
The ftp_raw() function sends a raw command to the FTP server.
| Parameter | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to use |
| command | Required. Specifies the command to execute |
Note: This function returns the server response as an array of strings. No parsing is performed, and ftp_raw() does not check if the command was correct.
The output of the code above will be:
Complete PHP FTP Reference
Your message has been sent to W3Schools.