ftp_get_option

Example

 mixed ftp_get_option ( resource $ftp_stream , int $option ) 

Description

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

Return Values

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