Enabling the SFTP Server
- Launch the Terminal (/Applications/Utilities) and enter the following command to start the FTP server:
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
Disable FTP Server in OS X Lion
Here’s how to disable the server:
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist