<p dir="ltr">Hi,</p>
<p dir="ltr">This was meant to be a quick tip, however, its now a short tutorial!</p>
<p dir="ltr">I have had great success in the past using bittorent to repair not only incomplete but also corrupted downloads (which you can't do with curl/wget/http range requests). Curl/wget are quicker to start running and more bandwidth efficient for incomplete downloads, but you can use the following method if the file still does not match its checksum after doing this!</p>
<p dir="ltr">This works best when you can find a torrent that only contains the file you tried to download but you can obviously mark any extra files from the torrent you are not interested in as do not download if you have to.</p>
<p dir="ltr">1. Find a torrent for the _exact same file_ you wish to repair, <a href="http://burnbit.com/">http://burnbit.com/</a> can be very useful here as a last resort!<br>
2. add the torrent to your bittorent client so that it creates the (empty) files it will download the data into, but do not start the download (in some clients you might need to start it downloading and then stop it a few seconds later to force it to do this).<br>
3. Make sure the file is not downloading and then copy and paste the damaged file over the empty file you bittorent client created. <br>
4. Tell your bittorent client to re-check/verify the data it has downloaded, when you do this the download percentage should go anywhere from zero up to 99% (this depends on how much data is missing or corrupted, if it stays near zero something went wrong).<br>
5. Start the torrent downloading and Wait, your bittorent client will now download the missing/corrupted parts to repair the file and will skip over the parts that verified successfully.</p>
<p dir="ltr">This method takes advantage of how bittorent works. You can get a better understanding from wikipedia but essentially bittorent divides files up into lots of smaller 'chunks' of data and a torrent file contains a list of each chunk and a _checksum for each chunk_ which is used to verify that each chunk has been downloaded correctly. Its not 100% efficient as any corruption will cause the entire chunk to be discarded and downloaded again but its still a better alternative to downloading a DVD image again (chunks are normally a few megabytes or less).</p>
<p dir="ltr">Cheers</p>
<p dir="ltr">-Ed</p>
<div class="gmail_quote">On 16 Oct 2013 10:00, "azmodie" <<a href="mailto:azmodie@gmail.com">azmodie@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This may prove helpful in saving bandwidth<div>.<a href="http://www.commandlinefu.com/commands/view/2876/use-curl-to-resume-a-failed-download" target="_blank">http://www.commandlinefu.com/commands/view/2876/use-curl-to-resume-a-failed-download</a><div>
<br></div><div>azmodie</div></div></div><div class="gmail_extra"><br clear="all"><div><div>--</div><a href="http://gplus.to/azmodie" target="_blank">http://gplus.to/azmodie</a><div>"Since light travels faster than sound, people appear bright until you hear them speak." -- some bright spark</div>
</div>
<br><br><div class="gmail_quote">On 16 October 2013 09:27, malcolm <span dir="ltr"><<a href="mailto:malcolm@wxlr.co.uk" target="_blank">malcolm@wxlr.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks all. The checksum was different so I'll have another go at downloading it. It that fails I'll wait until I can get to a good connection on the mainland.<br>
<br>
With my lack of knowledge I'd prefer not to risk a stopped and restarted file.<div><div><br>
<br>
______________________________<u></u>_________________<br>
dundee GNU/Linux Users Group mailing list<br>
<a href="mailto:dundee@mailman.lug.org.uk" target="_blank">dundee@mailman.lug.org.uk</a> <a href="http://dundeelug.org.uk" target="_blank">http://dundeelug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/dundee" target="_blank">https://mailman.lug.org.uk/<u></u>mailman/listinfo/dundee</a><br>
Chat on IRC, #tlug on <a href="http://irc.lug.org.uk" target="_blank">irc.lug.org.uk</a><br>
</div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
dundee GNU/Linux Users Group mailing list<br>
<a href="mailto:dundee@mailman.lug.org.uk">dundee@mailman.lug.org.uk</a> <a href="http://dundeelug.org.uk" target="_blank">http://dundeelug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/dundee" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/dundee</a><br>
Chat on IRC, #tlug on <a href="http://irc.lug.org.uk" target="_blank">irc.lug.org.uk</a><br></blockquote></div>