You should be aware that it is not unusual for data in the end of a file, whose transfer went wrong is corrupt. So after you have figured out how large your already downloaded file is (with -s) subtract 4k (works best IMO) to throw away data that is likely to be corrupt. And then resume your file transfer.