Resume a SCP file transfer using RSYNC

If you are copying a large file using SCP, and it stalls right near the end then there is a way to resume to upload using rsync:

rsync --partial --progress --rsh=ssh [email protected]:remote_file local_file