How to resume an scp download

When you try to transfer a huge file over ssh connection with scp, it may happen that the transfer interrupts (typically during holidays, when only low bandwidth internet is available). It is not possible to resume the download with the scp command. Hopefully rsync can come to rescue, and be used to avoid redo the download from scratch (which may fail again for the very same reasons). Try this:

~$ rsync --partial --progress user@hostname:/full/path/to/remote/file file

Obviously the same trick can apply for an upload (just need to reverse the positions of the last two arguments).