The ftp_set_option() function sets runtime options of the current FTP connection.
bool ftp_set_option ( resource $ftp_stream , int $option , mixed $value )
This function controls various runtime options for the specified FTP stream.
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.