Simply, the built-in server is disabled by default and we just need to enable it. Naturally, it is possible to download a separate server and many do, but why, if the mac out of the box already has a built-in ftp / sptp server, which is enough for most tasks. How to Start FTP and SFTP Server in macOS One of the advantages of this method is that you also get other useful tools in the kit, and you will not need to install them manually. 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.