<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.nuxified.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Nuxified GNU/Linux Help Forums - Torrents in a nutshell - Comments</title>
 <link>http://www.nuxified.org/topic/torrents_in_a_nutshell</link>
 <description>Comments for &quot;Torrents in a nutshell&quot;</description>
 <language>en</language>
<item>
 <title>MIXING SERVER DOWNLOADS WITH TORRENT DOWNLOADS</title>
 <link>http://www.nuxified.org/topic/torrents_in_a_nutshell#comment-12039</link>
 <description> &lt;p&gt;Let&#039;s say you want to jumpstart a new torrent download by using prior downloaded data, eg, from an earlier different torrent (eg, different sized chunks) or from a server. Why would you want to do this? Well, so that you don&#039;t have to sit through an entire torrent. I mean, if you downloaded half the file from the server but the server is out of commission now or you think you can get a better download rate from a new torrent you saw, you may want to reuse the part of the file you already downloaded so as to save time and bandwidth. OR say you have a file that got corrupted (maybe you were playing around with dd or something), but you think it is still mostly in tact (you know it&#039;s corrupted because an md5sum of it gives a bad value, or it&#039;s a file you can view with an application and it looks corrupted).&lt;/p&gt;
&lt;p&gt;How do you use this data to jumpstart a torrent download? Like this (using KTorrent as an example):&lt;/p&gt;
&lt;p&gt;-- First, find a torrent that is of the file you want to complete or fix. I presume you already have the torrent link since that is presumably what motivated this exercise, but I&#039;ll state this step to be complete.&lt;/p&gt;
&lt;p&gt;-- Next, make a backup of the partial (or corrupt) data you want to leverage in order to be safe. Why? Because it&#039;s possible to make a mistake somewhere and delete this data. If you really are doing this to save time and take advantage of a partial download (eg, if you have a slow Internet connection), why take chances? Just make the backup.. and give the backup a different name just to be safe (eg, if the backup is named the same but is in a different directory, you still might wipe it out a bit easier with KTorrent than if it was named differently).&lt;/p&gt;
&lt;p&gt;-- Name one copy just like the file to be downloaded via the torrent. Ie, take the torrent link and keep the last portion. Then drop the &quot;.torrent&quot; ending. This is the name of the file. Eg, for the current running example, &quot;LinpusLinux-LiveCD-i386.iso&quot; would be the name of the file. This is how you would name your partial (or corrupt) file. If you aren&#039;t sure of the name, just start up the torrent (see step below) and see what new files appear in the directory. The new one w/o the .torrent ending is the name you want.&lt;/p&gt;
&lt;p&gt;-- Copy this properly named file, ie, the partial download (or the corrupt file) you want to finish (or fix), to a clean directory with nothing else in it. [This step may not be necessary, but let&#039;s make our lives simple for now by eliminating variables.]&lt;/p&gt;
&lt;p&gt;-- Make sure you are not currently downloading the torrent you want to download. [This step too may be optional, but just follow it. I gave up trying to test all possibilities I could think off, so I am describing one procedure that works.]&lt;/p&gt;
&lt;p&gt;-- Start a torrent (eg, on KTorrent, File -&amp;gt; Paste torrent url, or perhaps just click on the torrent link from a website and open it with KTorrent). When prompted, save the torrent to the same directory where you have the partial (corrupt) data you want to complete (fix). [You made the back up, right?]&lt;/p&gt;
&lt;p&gt;-- KTorrent will start performing a data integrity check if it finds a file with the same name as the torrent file to be downloaded. So it sees the partial download data that was named as expected; rebuilds it&#039;s knowledge of the chunks it has and the chunks it needs (that&#039;s the integrity check); and starts up the torrent download from the peers to fill in *only* the missing (ie, missing or corrupted) chunks! If you cancel the integrity check midway, KTorrent will just start downloading all the chunks I think (so you will not be saving time and will be redownloading data you already have stored in the proper place). However, I don&#039;t think it trashes the file. Thus I think you can stop/remove the torrent download, and try opening up the torrent again (this time allowing the integrity check to procede to the end). KTorrent just writes into the file at the proper location where a chunk fits. It doesn&#039;t truncate; thus, it will just write good data over good data or good data over bad data, but it won&#039;t clobber anything of value.. I think. In any case, if you do mess up or remove the .torrent file and data, you have that trusty backup and can restart from step one, right?&lt;/p&gt;
&lt;p&gt;Any time you want, you can do an integrity check (which is a neat feature).&lt;/p&gt;
&lt;p&gt;Also, you may find that you don&#039;t have to do all the steps above, but I make no guarantees. In fact, I make no guarantees that if you do follow the steps above exactly as described that you won&#039;t cause your computer and files to explode. Reader beware.&lt;/p&gt;
&lt;p&gt;Anyone that wants to do more testing and report on it, go ahead.&lt;/p&gt;
&lt;p&gt;One more thing, don&#039;t panic if KTorrent says something like torrent file or data is corrupt. That message can appear for any of numerous reasons. It just means KTorrent got confused with the torrent link you gave it (eg, I gave a bad url one time repeatedly and didn&#039;t realize it) or you (re)move the data file (ie, the file being downloaded) from where it expects it to be and it panicked. Also, if you remove the .torrent file without telling it or rename the directory or something like that, it may also produce that nasty sounding message or maybe even a worse one. &lt;img src=&quot;/misc/smileys/wink.png&quot; title=&quot;Eye-wink&quot; alt=&quot;Eye-wink&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Other torrent apps besides KTorrent may have a similar feature. If not file a feature request &lt;img src=&quot;/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Happy downloading and hope this feature saves you time or is at least useful in some way.&lt;/p&gt;
&lt;p&gt;[Years ago, before I ever tried a torrent app, I thought about hacking wget to implement a more flexible way to download so that I could download only precise chunks easily (using http partial request header). I never got around to finishing that project (or studying wget to see where to make the incision). Now, I can probably just use KTorrent or maybe link to a torrent library or something (I&#039;ll investigate the library possibility later). Goes to show you that if you react too slowly, the wheel will get implemented for you. How horrible, right? &lt;img src=&quot;/misc/smileys/lol.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; /&gt; FOSS rulz!]&lt;/p&gt;
 </description>
 <pubDate>Fri, 22 Feb 2008 00:39:21 +0100</pubDate>
 <dc:creator>Jose</dc:creator>
 <guid isPermaLink="false">comment 12039 at http://www.nuxified.org</guid>
</item>
<item>
 <title>Downloading from most</title>
 <link>http://www.nuxified.org/topic/torrents_in_a_nutshell#comment-12027</link>
 <description> &lt;p&gt;Downloading from most central servers is usually faster and sometimes much faster than d/l from a torrent but not always.&lt;/p&gt;
&lt;p&gt;Go to this page&lt;br /&gt;
&lt;a href=&quot;http://linuxtracker.org/index.php?page=torrents&quot;&gt;http://linuxtracker.org/index.php?page=torrents&lt;/a&gt; and test the download of something like mythbuntu (near the bottom as of the time of this posting) that had 8 people seeding and no one leeching. It would be very fast because all 8 could be dedicated just to you. You will probably saturate your download speed as if you were tapping a decent server. OTOH, Linpus Linux had 1 seed and around 12 leeching. There what you get is a download speed of several tens of kilobytes/sec if you have been on for a while or about ten if you have been on for a short time (&lt;a class=&quot;glossary-term&quot; href=&quot;/glossary#term406&quot;&gt;&lt;acronym title=&quot;YMMV: Your Mileage May Vary&quot;&gt;ymmv&lt;/acronym&gt;&lt;/a&gt; as it depends on many factors including what kind of Internet connection you have).&lt;/p&gt;
&lt;p&gt;The reason I decide to seed this one was that the actual linpus servers were already quite slow. For much of my download they were around 5 Kbytes/sec; however, for most iso downloads I do I really prefer the main servers or large mirrors over torrents if the torrent would be slow or modest (low ration of seeders to leechers).&lt;/p&gt;
&lt;p&gt;********&lt;/p&gt;
&lt;p&gt;One more thing about the protocols, ignore DHT. I think it&#039;s a way to bypass the tracker system, but something I read recently suggested that it wasn&#039;t used that much and/or wasn&#039;t completely functionals or something.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 21:48:28 +0100</pubDate>
 <dc:creator>Jose</dc:creator>
 <guid isPermaLink="false">comment 12027 at http://www.nuxified.org</guid>
</item>
<item>
 <title>In case it wasn&#039;t clear, I</title>
 <link>http://www.nuxified.org/topic/torrents_in_a_nutshell#comment-12022</link>
 <description> &lt;p&gt;In case it wasn&#039;t clear, I have very limited experience specifically with bit torrents and P2P. I did, however, read some of the online links I posted and have read some on P2P networks elsewhere (and know some about networks and software in general). I also have at least acquired *something* and seeded *something* through KTorrent.&lt;/p&gt;
&lt;p&gt;This all certainly makes me an expert &lt;img src=&quot;/misc/smileys/lol.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; /&gt;, I know, but just to be safe, remember to bring the salt shaker.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 17:13:01 +0100</pubDate>
 <dc:creator>Jose</dc:creator>
 <guid isPermaLink="false">comment 12022 at http://www.nuxified.org</guid>
</item>
<item>
 <title>I think linuxtracker.org</title>
 <link>http://www.nuxified.org/topic/torrents_in_a_nutshell#comment-12020</link>
 <description> &lt;p&gt;I think linuxtracker.org uses FOSS to handle the tracking (and maybe even the website). If you own your own website or the hosting company allows you to use such software, you don&#039;t need linuxtracker.org or anyone else. In fact, you can even provide those services for others.&lt;/p&gt;
&lt;p&gt;That&#039;s something nuxified/libervis network might want to consider providing for the community (not that there is a need for it but it might ultimately help attract more eyeballs to this website).&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 16:54:52 +0100</pubDate>
 <dc:creator>Jose</dc:creator>
 <guid isPermaLink="false">comment 12020 at http://www.nuxified.org</guid>
</item>
<item>
 <title>Torrents in a nutshell</title>
 <link>http://www.nuxified.org/topic/torrents_in_a_nutshell</link>
 <description>&lt;div class=&quot;vote-up-down-widget&quot;&gt;&lt;span class=&quot;up-inact&quot; title=&quot;You must login to vote.&quot;&gt;&lt;/span&gt;&lt;span class=&quot;down-inact&quot; title=&quot;You must login to vote.&quot;&gt;&lt;/span&gt;&lt;/div&gt; &lt;p&gt;The wikipedia article is useful &lt;a href=&quot;http://en.wikipedia.org/wiki/BitTorrent_&quot;&gt;http://en.wikipedia.org/wiki/BitTorrent_&lt;/a&gt;(protocol) and the specification for those that are curious will be maintained here &lt;a href=&quot;http://wiki.theory.org/BitTorrentSpecificati&quot;&gt;http://wiki.theory.org/BitTorrentSpecificati&lt;/a&gt;&lt;/p&gt;
 &lt;p&gt;&lt;a href=&quot;http://www.nuxified.org/topic/torrents_in_a_nutshell&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.nuxified.org/topic/torrents_in_a_nutshell#comment</comments>
 <category domain="http://www.nuxified.org/taxonomy/term/20">Application programs</category>
 <pubDate>Tue, 19 Feb 2008 16:22:31 +0100</pubDate>
 <dc:creator>Jose</dc:creator>
 <guid isPermaLink="false">2004 at http://www.nuxified.org</guid>
</item>
</channel>
</rss>
