Resume SFTP transfer with rsync

Published on 2009-12-15.

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

If you have any comments or corrections please feel free to email them to me. Also, if you found this content useful consider supporting me on Patreon