# Script for Setting Up FTP to a Folder on a Mac

This script came in handy many times when I had to share things with my other laptops or windows users.

On a Mac you should have Ruby installed. Macs normally come with an ftpd whose frontend has been ripped out, so you can only do this on the command line. Basically, write this to a script file (lets call it setftp)

and then use it by typing:

./setftp /directoryIWantToShare

Tested on Mavericks

With this you will have an ftpd turn on whose root folder is the folder you named. in this case it is /directoryIWantToShare