Mac是自带ftp客户端和ftp服务器的,默认情况下输入
ftp
可以发现能够进入ftp的命令行,启用ftp服务器的命令如下:
启动ftp服务
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
关闭ftp服务
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
Mac是自带ftp客户端和ftp服务器的,默认情况下输入
ftp
可以发现能够进入ftp的命令行,启用ftp服务器的命令如下:
启动ftp服务
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
关闭ftp服务
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
本文标题:【小贴士】Mac下启动ftp服务器
本文链接:https://www.haomeiwen.com/subject/vzhlfftx.html
网友评论