There are a lot of ways on how to transfer files through network in linux and open source. One of the solution is to use sftp a.k.a. secure file transfer protocol. The reason this sftp is different from the original ftp is, sftp will do all its operation over encrypted ssh transport. This make sure that your file is safely transferred through network. To use sftp, you can just run command
$ sftp user@servername
$ sftp email@example.com or
$ sftp firstname.lastname@example.org
To use sftp efficiently, a few important commands one need to know, as listed below:
- To get help on commands available.
- sftp> help
- sftp> ?
- sftp> lls
- sftp> ls
- sftp> put /local/path /remote/path
- sftp> get /remote/path /local/path