Prior to PHP 8.1.0, this extension used one resource type, which is the link identifier of the FTP connection, returned by ftp_connect() or ftp_ssl_connect().