If you are using sftp to transfer files to and from servers on the internet securely, you will find that sftp cannot resume a broken file upload or download.
There are two solutions:
| # aptitude install putty |
| $ rsync —partial —progress —rsh=ssh localfile user@remotehost:directory/ |