When copying large image files between servers I use rsync to resume/continue interrupted file transfers.
The file transfer can be secured by ssh/sftp, but might result in
broken pipe errors when the connection is dropped while checksums are calculated.
This command copies files via ssh by rsync:
rsync -av --progress --append-verify -e "ssh -p 22" firstname.lastname@example.org:/path/to/files/ .
broken pipe errors:
comments powered by Disqus
cat <<EOF >> ~/.ssh/config Host * ServerAliveInterval 120 ServerAliveCountMax 100 EOF