YouTip LogoYouTip

Func Ftp Set Option

# PHP ftp_set_option() Function * * Complete PHP FTP Reference Manual](#) * * * ## Definition and Usage The ftp_set_option() function sets various runtime options for an FTP connection. If successful, the function returns TRUE. If it fails, it returns FALSE. ## Syntax ftp_set_option(ftp_connection,option,value) | Parameter | Description | | :--- | :--- | | ftp_connection | Required. Specifies the FTP connection to use. | | option | Required. Specifies the runtime option to set. Possible values: * FTP_TIMEOUT_SEC * 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). | * * * ## Example * * Complete PHP FTP Reference Manual](#)
← Func Math AtanhFunc Ftp Rmdir β†’