ftp_set_option

Example

 bool ftp_set_option ( resource $ftp_stream , int $option , mixed $value ) 

Description

This function controls various runtime options for the specified FTP stream.

Return Values

Returns TRUE if the option could be set; FALSE if not. A warning message will be thrown if the option is not supported or the passed value doesn't match the expected value for the given option.