Checks if the FTP extension is enabled before trying to connect to FTP servers.