PPscp
VeggieVampire/PPscp
Shell
The script stands for "Pre-Post-Secure-Copy" It checks a file integrity before transfer with a MD5 HASH sum, then RARs and breaks up the file into a more manageable chunks for the SCP. If it fails to transfer or individual chunk or has the wrong hash it deletes the remote file and tries again. When it finishes the script unrars and combines the file and makes sure it has the same HASH has before the transfer.