MacOS – Yosemite does not have ftp sharing option in file sharing preferences

ftpmacosNetworkterminal

I have just obtained a Macbook Pro with Yosemite installed and am trying to connect to it from another host on the local network via ftp. The connection is refused. So I get into the preferences in the Yosemite system and look of ftp option in the file sharing preferences. There isn't one. There is options for afp, smb sharing but not ftp. On my other Macs there is an option for ftp sharing.

Also, when I set the ethernet interface to manual address with sub net mask, the settings are not installed as reflected in terminal app command ifconfig. I can use ifconfig to set it but the settings are dropped when the machine is rebooted. I have to set them every time the machine boots.

I could write a shell script to configure the interfaces but I don't know where to put this script so it will be run on startup.

does anyone have suggestions, useful info on this issue?

Best Answer

For the manual addressing, have you tried using the networksetup command? These settings can be set using the following command:

networksetup -setmanual <networkservice> <ip> <subnet> <router>