For example, you can connect to the gnu.org server to check that everything worked out. When Homebrew finishes installing inetutils, you can run the FTP command as usual. If you need FTP protocol, it will not hurt to install the entire set.
The inetutils file contains: FTP, FTP server, telnet and telnet server, as well as rsh, rlogin, tfp servers and clients, etc. If you haven’t Homebrew in your system, you can take script for Homebrew installing here. If you still haven’t installed Homebrew on a Mac, you need to do this before proceeding with the instructions below. How to Start FTP and SFTP Server in macOS.