Anonymous FTP in Snow Leopard

A while back I need to let a friend of mine transfer some large files across the network on campus so I enabled the FTP in OS X and setup the anonymous user account. I got the following from the Mac OS X Hints website:

To enable anonymous FTP in Snow Leopard, just execute the following commands in Terminal:

$ sudo dscl . -create /Users/ftp
$ sudo dscl . -create /Users/ftp NFSHomeDirectory /path/to/ftp/folder

Replace /path/to/ftp/folder with the path to the directory that the guest account will have access to. To disable anonymous access, use this command:

$ sudo dscl . -delete /Users/ftp

You may have to restart the FTP daemon by stopping File Sharing and starting it again in System Preferences. Although I didn’t test it in Leopard, I see no reason why it shouldn’t work there as well.

Comments are closed.