我正在使用Mac OS X(High Sierra),并且希望从命令行运行FTP(而不是具有GUI的客户端)。不幸的是,我似乎没有安装它。
localhost:myproject davea$ ftp
-bash: ftp: command not found
当我尝试使用“ brew install ftp”进行安装时,出现以下错误...
Error: No available formula with the name "ftp"
==> Searching for a previously deleted formula...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
These similarly named formulae were found:
bbftp-client curlftpfs git-ftp lftp ncftp proftpd pure-ftpd swiftplate uberftp uftp vsftpd
To install one of them, run (for example):
brew install bbftp-client
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
如何在Mac上安装命令行FTP客户端?
默认情况下未安装FTP,因为使用FTP是主要的安全风险。如果有任何方法可以切换到使用SFTP或FTPS,那将是理想的选择。
—
William T Froggard
请尝试以下操作:
—
user3439894
brew install inetutils