Easy Tutorial
❮ Php Error Handling Func Math Mt Rand ❯

PHP ftp_get_option() Function



Definition and Usage

The ftp_get_option() function returns various runtime options of the FTP connection.

Syntax

Parameter Description
ftp_connection Required. Specifies the FTP connection to use.
option Required. Specifies the runtime option to return. Possible values: FTP_TIMEOUT_SEC - Returns the time limit for network operations<br> FTP_AUTOSEEK - Returns TRUE if this option is set, otherwise returns FALSE.

Example

The above code will output:

❮ Php Error Handling Func Math Mt Rand ❯