May 2017
Beginner
552 pages
28h 47m
English
File Transfer Protocol (FTP) is old and is used in many public websites to share files. The service usually runs on port 21. FTP requires that an FTP server be installed and running on the remote machine. We can use the traditional ftp command or the newer lftp command to access an FTP-enabled server. The following commands are supported by both ftp and lftp. FTP is used in many public websites to share files.
To connect to an FTP server and transfer files to and from it, use the following command:
$ lftpusername@ftphost
It will prompt for a password and then display a logged in prompt:
lftp username@ftphost:~>
You can type commands in this prompt, as shown here: