The major purpose of the networking of computers is for resource sharing. Among resource sharing, the most prominent use is in file sharing. There are different methods by which we can transfer files between different nodes on a network. This recipe discusses how to transfer files using commonly used protocols FTP, SFTP, RSYNC, and SCP.
The commands for performing file transfer over the network are mostly available by default with Linux installations. Files via FTP can be transferred by using the
lftp command. Files via a SSH connection can be transferred by using
sftp, RSYNC using SSH with
rsync command and transfer through SSH using
File Transfer Protocol (FTP) is an old file transfer protocol ...