Easy Tutorial
❮ Filter Validate Boolean Pdo Begintransaction ❯

PHP ftp_set_option() Function



Definition and Usage

The ftp_set_option() function sets various runtime options for an FTP connection.

The function returns TRUE on success and FALSE on failure.

Syntax

Parameter Description
ftp_connection Required. Specifies the FTP connection to use.
option Required. Specifies the runtime option to set. Possible values: FTP_TIMEOUT_SEC<br> FTP_AUTOSEEK
value Required. Sets the value for the option parameter. If the option parameter is set to FTP_TIMEOUT_SEC, it limits the maximum execution time for network operations (in seconds). If the option parameter is set to FTP_AUTOSEEK, this parameter must be TRUE (to enable auto-seek) or FALSE (to disable auto-seek).

Examples


❮ Filter Validate Boolean Pdo Begintransaction ❯