Resume SFTP transfer with rsync

Posted on 15.12.2009 by Kim N. Lesmer.

Not many SFTP clients support resume of a broken transfer, but it is possible using rsync:

$ rsync --partial --progress --rsh='ssh -pPORTNUMBER' FILENAME USERNAME@DEST_HOST:/DEST_DIR