You may want to set your Mac OS devices as a FTP server. Or you may want to upload files to your Mac OS devices through FTP. But how to enable and disable the FTP in your Mac OS X Lion? It is very easy that only a few steps are required.

Enable FTP

Type the command in Terminal

[sourcecode language=”plain”]sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist[/sourcecode]

Type the command for thesting

[sourcecode language=”plain”]ftp localhost[/sourcecode]

Disable FTP

Type the command in Terminal

[sourcecode language=”plain”]sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist[/sourcecode]

Easy?