SFTP and rsync are two tools that can help you transfer files across networks and the web. Here’s how to use them within macOS.
You can use SFTP and rsync on a Mac to handle file transfers.The are many occasions on which you need to transfer files between two computers on a LAN, in an office, across the web, or to a remote server. Many workers today use cloud services such as Google Drive or Dropbox for such transfers.

