public function getOption($option)
    {
        switch ($option) {
            case FTPClient::TIMEOUT_SEC:
            case FTPClient::AUTOSEEK:
                $result = @ftp_get_option($this->connection, $option);

                return $result;
                break;
            
            default:
                throw new Exception('Unsupported option');
                break;
        }
    }
public function getOption($option)
    {
        switch ($option) {
            case FTPClient::TIMEOUT_SEC:
            case FTPClient::AUTOSEEK:
                $result = @ftp_get_option($this->connection, $option);

                return $result;
                break;
            
            default:
                throw new Exception('Unsupported option');
                break;
        }
    }
public function getOption ( $ option ) { switch ( $ option ) { case FTPClient :: TIMEOUT_SEC : case FTPClient :: AUTOSEEK : $ result = @ ftp_get_option ( $ this -> connection , $ option ) ; return $ result ; break ; default : throw new Exception ( 'Unsupported option' ) ; break ; } }
Retrieves various runtime behaviours of the current FTP stream
TIMEOUT_SEC | AUTOSEEK

@param mixed $option

@return mixed
Retrieves various runtime behaviours of the current FTP stream TIMEOUT_SEC | AUTOSEEK