ftp_set_option
ftp_set_option
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
ftp_set_option — Set miscellaneous runtime FTP options
Description
bool ftp_set_option ( resource $ftp_stream , int $option , mixed $value )
This function controls various runtime options for the specified FTP stream.
Parameters
-
ftp_stream
-
The link identifier of the FTP connection.
-
option
-
Currently, the following o