ftp_get_option

 mixed ftp_get_option ( resource $ftp_stream , int $option ) 

説明

This function returns the value for the requested option from the specified FTP connection.

戻り値

Returns the value on success or FALSE if the given option is not supported. In the latter case, a warning message is also thrown.