Javatpoint Logo
Javatpoint Logo

PHP ftp_raw() function

The ftp_raw() function sends a raw command to the FTP server. This function was introduced in PHP 5.

Syntax:

Parameter Description Is compulsory
ftp_stream The link identifier of the FTP connection. compulsory
Command The command to execute. compulsory

Return values:

The ftp_raw() returns the response of the server as an array of strings. In this function, no parsing is performed on the response string, nor does ftp_raw() determine if the command succeeded.

Example 1

Output:


PHP ftp_raw() function

Example 2

Output:


PHP ftp_raw() function
Next TopicPHP FTP





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA