PHP ftp_raw() Function

PHP FTP Reference : Connect to FTP server and execute commands

Definition and Usage

The ftp_raw() function sends a raw command to the FTP server.

Syntax

ftp_raw(ftp_conn, command);

Parameter Values

Parameter Description
ftp_conn Required. Specifies the FTP connection to use
command Required. Specifies the command to execute

Technical Details

Return Value: The response from the server as an array of strings
PHP Version: 5+

❮ PHP FTP Reference