How to resume failed scp transfer

root's picture

You must know that scp do not have resume option but you can turn to rsync for this.

So, if the scp transfer failed:
# scp file_to_transfer lame@remotehost:/path/

You can resume with rsync like this:
# rsync --partial file_to_transfer lame@remotehost:/path/file_to_transfer

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content

root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root