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 Best 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
Question marked as Best reply

Dec 6, 2017 8:06 AM in response to RayKep

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.

Dec 6, 2017 7:23 AM in response to RayKep

I read somewhere else that both telnet and ftp were removed from high sierra.


One suggestion, if you still have the old sierra around, you can use the binaries from it. Probably use /usr/local/bin rather than screwing with the SIP stuff to stick them where they belong.


I haven't tried it myself but it's supposed to work fine.

Oct 10, 2017 6:24 PM in response to etresoft

Yes, FTP is insecure, but most people using it for larger file transfers within their network, where SFTP is not needed. Now, I need to find an SFTP/SCP server for my transfers that were perfectly fine in FTP before.. 😟


Like someone already said, it would have been nice to know, since these built-in features made the Mac that much nicer to use than PC.

Oct 11, 2017 4:51 AM in response to RayKep

Apple is well-known for breaking compatibility with older technologies. Microsoft, however, is well-known for maintaining compatibility with older versions. Yet Apple customers always keep updating to whatever Apple's latest buggy OS might be, regardless of what won't work anymore, and then complain about it. Windows users are notorious for running ancient versions. I wonder, do Windows users complain that Microsoft never gives them any new features in XP?

Oct 11, 2017 5:16 PM in response to etresoft

I'm a faithful follower and purchaser (donator?) to Etrecheck. I highly respect it's author. But let me comment on the above. I've very long history with MSFT, having "coded" in Microsoft Basic on my TRS-80 model 1. Converted to the PC in 1981 when my company declned to support Apple II or TRS-80. The Config.sys allowed anybody to make hardware for the PC and its clones. It left 5 designed holes in the OS that still are the main avenue for the hacker, malware and viruses. It did make it possible for MSFT to rule the world as Steve Jobs took the opposite road. Backward compatibility is one of the reasons that the PC remains dangerous to this day. To top it all off, it was a standard joke among us geeks that Microsoft sold us betaware and then sold us the next version to fix the bugs we bought in the last iteration. DOS 1.3 worked. 1.0 was too buggy. No DOS version 2.* was sold to anybody who knew better just the same as any 4.* DOS. It took until Window 3.1 before things got stable enough to use. I forgot that knowledge and took a "free upgrade" to Win10 for a Parallels virtual machine and it had so many problems that I had to abandon it and buy $200 replacement. I think my experience with Apple makes me appreciate 99% of how they do things, especially with respect to AppleCare. Apple fixes their mistakes and doesn't put a new number and price tag on it.

Oct 25, 2017 5:54 AM in response to Brian Williams2

Brian Williams2 wrote:


And this response was helpful HOW???

I'm just trying to engage people with replies that they enjoy and find meaningful. I keep suggesting better and more secure alternatives, but that doesn't help. I keep pointing out that any vendor still forcing FTP or telnet on its users is being harmful or even malicious. When all else fails, I point to any one of 10,000 3rd party FTP and telnet implementations. But it is never enough. Apple announces a new update and everyone loses their minds. They forget what every single Apple update in the past 5 years was like and click "update now". Then begins the wailing and gnashing of teeth when Apple attempts to drag them into 1999.

Dec 6, 2017 8:08 AM in response to Dr.Ripco

Yes, the /usr/bin/ftp and telnet images work just fine when copied to /usr/local/bin.


I cannot believe Momma Apple, citing "Security Issues", would remove two of the most basic tools from the Internet Suite, used by literally tens of thousands of CORPORATE applications. By bringing over the 12.x utilities, we now are dependent on images which will no longer have support, ie, will no longer receive security updates the rest of the internet gets. This is better HOW???


(40+ year veteran of supporting commercial legacy systems as a consultant for a major computer manufacturer)

Jan 8, 2018 11:17 PM in response to epompei

Hi epompei,


If Apple left the worrying up to individual users, then our lives would be a lot easier. I cannot understand why we have to live with the executive decisions made in an Apple Boardroom that have no relevance to individual users decisions. For instance, I realise that FTP may be not as secure as possible but really, I am only using it to move a scanned document from my printer to my file server. It's all internal and so security doesn't have any relevance here.




Please bring back FTP and those old fashioned protocols that actually worked and let me get on with my work.

<Edited by Host>

Jan 8, 2018 11:09 PM in response to RayKep

Such a stupid decision to remove FTP! Us macOSServer 5.4 and have no FTP!

We have to scan to server that needs FTP! What a mess... now we have to use email. and go over the WAN, instate stay on the LAN side! Such stuff has to be communicate in the top of the installation, update process.

All i could see is:

"New technologies at the heart of the system make your Mac more reliable, capable, and responsive — and lay the foundation for future innovations. macOS High Sierra also refines the features and apps you use every day. It’s macOS at its highest level yet."


Jan 15, 2018 8:05 PM in response to Marcel Eggimann

Dear Marcel,


I posted an answer to this earlier. I found an inexpensive FTP server for my Mac Server and installed it and got it up and running in half an hour. I can continue to use my scanner to send scanned documents over my internal network just like I did before the High Sierra "downgrade".


Look here. https://langui.net/ftp-server/ for the product FTP Server. Do not go for the SFTP Server alternative, it looks too complicated and your printer will not be able to send to it. It cost me about $5.00 Aus to get this app. Worth the effort.


Let's keep at Apple to ask them to restore FTP within their file server software as a basic requirement. There may be some theoretical risks if you were using it from the outside world and it being able to be hacked, but for working inside a LAN, where is the problem?


Cheers.

Jan 15, 2018 10:35 PM in response to Peter Marsh

Hi Peter,

We don't want to install services that we have to maintain separately and may be a security issue.

We have moved to use scan to mail using SSL. We can't scan if the internet is down...

In my experience it's a illusion to believe large companies will make changes because of some users.

Using Mac since 1991 "highest level yet"... 😮 😉

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 ID.