You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

FTP server, Mac OS High Sierra

Pre-High Sierra, I was able to run an FTP server through the command line:

"sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist"


Fast forward, I've installed High Sierra, and I can't use that command anymore. I've also downloaded and installed Mac OS Server, but I don't see it as a service there either.


Any suggestions to run an FTP server locally on my Mac? I'd prefer a command-line solution like I started with once upon a time.


P.S. I've also tried the following file sharing solution with the -F option (for FTP) with no luck:

"sudo sharing -a ~/Desktop -F test"

MacBook Pro with Retina display, macOS High Sierra (10.13), null

Posted on Sep 27, 2017 11:22 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 6, 2017 8:06 AM

Thanks to Dr. Ripco. His answer helped me develop a working solution which requires the binaries from pre-High Sierra. FTP, telnet, and my pre-High Sierra bash profile shortcuts work on two MacBooks currently running High Sierra. The optional statements should be done if you want to include telnet or use the 'launchctl load/unload' commands for FTP.


Copy these files from a Apple OS that is pre-High Sierra, or find another source.

  • /usr/bin - ftp and telnet (Optional)
  • (Optional) /usr/libexec/ftpd - ftpd
  • (Optional) /System/Library/LaunchDaemons - ftp.plist


Disable SIP via Recovery Mode

  1. Reboot the computer. When the Apple logo shows up, hold down Command+R.
  2. Open the Terminal under Utilities.
  3. Type 'csrutil disable' and press Enter.
  4. Reboot the computer.


Move the files to the various locations on your computer running High Sierra.

  • /usr/local/bin - ftp, telnet (Optional)
  • (Optional) /usr/libexec/ftpd - ftpd
  • (Optional) /System/Library/LaunchDaemons - ftp.plist


(Optional) Update the permissions for the ftp.plist file

  1. Open Terminal.
  2. Type 'chmod 677 /System/Library/LaunchDaemons/ftp.plist' and press Enter


Verify it works.

  1. Open Terminal
  2. Type 'ftp localhost' and press Enter. This should show as connected and not return errors.
  3. (Optional) Type 'sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist' and press Enter. Shouldn't return any errors.


Re-enable SIP

  1. Reboot the computer. When the Apple logo shows up, hold down Command+R.
  2. Open the Terminal under Utilities.
  3. Type 'csrutil enable' and press Enter.
  4. Reboot the computer.
30 replies

Jan 16, 2018 5:07 AM in response to Marcel Eggimann

I also vouch for the ftp server. It's much easier to use than sending to email and I don't feel email is reliable enough from these machines, not to mention security issues of the email being sent out into the "wild" with scanned documents. The FTP Server in the App store is just set it and go and doesn't have to talk outside the LAN.


Also, complain to Apple that it should be there in server. It's a necessary component. Even if they don't listen you are not out anything. I would be fine with them getting rid of the Server App as long as it's all built into the OS, and that includes FTP.

FTP server, Mac OS High Sierra

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.