MacOS High Sierra Kills Terminal FTP
discussions.apple.com
discussions.apple.com
On the other hand, I get where Apple is coming from: those two tools are decades old and pretty much unmaintained. By not shipping them by default, they can reduce the attack surface (code not shipped won’t have vulnerabilities)
If you need command line FTP and telnet access, you can of course use homebrew to get them back.
$ timeout 5 bash -c 'cat </dev/null >/dev/tcp/google.com/80' && echo "Open" || echo "Closed" $ timeout 5 bash -c 'cat </dev/null >/dev/tcp/google.com/80' && echo "Open" || echo "Closed"The command-line options are the same.
Just install telnet if you need it. It's not like Apple actually wrote these apps anyway. Install them trivially with brew, telnet, ftp, whatever old garbage you need.
Funny thing is I just BARELY needed to install telnet. Well, "needed." I wanted to relive some old BBS memories.
What's really a shame, is that so many providers still only support FTP.
Protocols should become useless before dropping the client from standard distributions.
What's next, is mac going to obsolete telnet? There goes a host of quick tests you can utilize on a home network.
Easily fixable with `brew install telnet` and `sudo apt install telnet`.
The only thing that would work in this situation is FISH.
Yes, I'm being snarky. Dropping it from the standard distribution is a good kick in the butt for anyone backward enough to still rely on plain old ftp in this day and age. Remember passive mode? Remember ascii mode? Oy. Good riddance. Even "telnet" isn't in some base linux systems.
Also it's one "brew install lftp" away for anyone who is really can't get around using it.
This statement is identical to "All operating-system developers must support every protocol ever developed, until the heat death of the universe".
I am not exaggerating. No matter the protocol, no matter how obscure it is, somewhere there is at least one person whose workflow is dependent on it and who will complain that it is, as a result, not "useless" and must be supported out-of-the-box by their operating system.
Those people can learn to install a client. If any of them happen to be the only user in the world of a given protocol and be doing it solely on machines to which they have no write access, well, they painted themselves into the corner and now can deal with the consequences of it.
curl -O -u user:password ftp://whatever.site.com/filename
Curl comes with MacOS and still supports ftp, even if they removed the ftp executable. brew install lftpBut I’m not sure it’s that bad. Because this way Apple kind of acknowledge that if someone install something in local they must now what they are doing and this because default for users path.
Haven't touched the ftp cmd line in 15 years, there are much better (and safer) alternatives
Nowadays, people complain when Apple removes a program from their OS, even when there are plenty of third party options...
https://developer.apple.com/library/content/releasenotes/Gen...
Is this pathetic document the best Apple can do?
The vast majority of MacOS users will never launch it.
Well I cannot install the terminal without the terminal. :) brew install terminal hum...
The fact of the matter is that FTP is pretty much a no-op for 99.9% of the MacOS using public. Apple has to maintain, test, etc. everything they ship (I hope..).
Now given that a Mac is pretty much the default laptop here in the valley for SW dev, I would say unlike FTP, the terminal gets used.
Removing stuff that is not used by most of the users only makes sense. As long as they do not stop a power user from installing what they want all is good.
ncftp is also a good choice; i can't speak for anything else as I haven't used them.
- Being hacked by sending a mom-and-pop website password in clear text
- Typing ftp twice at the command line, only to realize you need to install brew and then ftp (or FileZilla, Cyberduck) on a foreign Mac