Set gFTP as Default FTP Client on Ubuntu - Command Line

gFTP: A Versatile FTP Client for Ubuntu Linux
gFTP stands out as a robust ftp client designed for the Ubuntu Linux operating system. It offers users the flexibility of both a graphical user interface (GUI) and a command-line interface (CLI).
Switching Between FTP Clients
A straightforward method exists to alternate between the system's default FTP client and gftp-text. The initial step involves verifying that gFTP is installed on your system.
The update-alternatives command is utilized to modify this configuration. Begin by opening a terminal window and executing the following command:
sudo update-alternatives --config ftp
Understanding the Output
The command's output will resemble the following:
~$ sudo update-alternatives --config ftpThere are 2 alternatives which provide `ftp'.Selection Alternative-----------------------------------------------*+ 1 /usr/bin/netkit-ftp2 /usr/bin/gftp-textPress enter to keep the default[*], or type selection number: 2
In this example, gftp is presented as option 2. Typing '2' and pressing the Enter key will select gftp-text as the default FTP client.
Testing the Configuration
To confirm the change, simply type ftp localhost in the terminal. The system should now utilize gftp instead of the previous default.
~$ ftp localhostgFTP 2.0.18, Copyright (C) 1998-2003 Brian Masney <masneyb>. If you have any questions, comments, or suggestions about this program,please feel free to email them to me. You can always find out the latest newsabout gFTP from my website at http://www.gftp.org/gFTP comes with ABSOLUTELY NO WARRANTY; for details, see the COPYING file. Thisis free software, and you are welcome to redistribute it under certainconditions; for details, see the COPYING fileUsername [anonymous]:
Conclusion
The process is remarkably simple, allowing for easy switching between FTP clients based on user preference and task requirements.