In this chapter, we’re going to look at various programs for transferring files between machines.
FTP
One of the most common protocols to transfer files is FTP (File Transfer Protocol). To get started using FTP, you should install lftp, a sophisticated file transfer program. This program is primarily used for FTP but can also be used for other protocols:
sudo apt-get install lftp
With lftp installed, you can enter interactive mode using
lftp
This will open up an interactive shell where you can run lftp-specific commands. It should look similar to Figure 6-1.
Figure 6-1
lftp interactive ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.