SCP - Secure Copy Protocol
Using SCP to copy data.
Copy a directory and it's contents recursively.
sudo scp -r /home/user/data email@example.com:/home/user
Copy a file from remote directory to current directory.
scp firstname.lastname@example.org:/home/user/file.md .
SCP does not support resuming if the transfer is interrupted.
If a file only got transferred partially it can be resumed with Rsync using the
-Pflag or SFTP using the
-p Preserve modification time timestamps.