[Libtorrent-devel] Possibility to re-download files/chunks without re-hash?

Saxfusion saxfusion at gmail.com
Sun Jun 7 13:37:02 UTC 2009


Hi all,

i was wondering if i have overseen a way to re-download a chunk or file
which has not been downloaded correctly at first?

Here is my case:

libtorrent/rtorrent - svn v1093 on Ubuntu 8.04 (Kernel 2.6.24-24
updates/backports)
All volumes are encrypted via cryptsetup/LUKS.

- A .torrent with multiple folders and hundreds of files in it.
- Un-needed folders/files have been set to "off" before downloading

Now the activity has stopped since all wanted parts have been downloaded
(so the status remains on "leech", final hash-check on the whole
structure is not been carried out) and there are no more leechers on it
right now.
When i look into the file list now and select a folder which was
selected for download i can scroll through the files there. Somewhere in
there i do find a file which shows only "96", meaning only 96% of the
file finished.
e.g. part of the file list shows up as follows

***************
    /folder name
100   size   file_one
100   size   file_two
...
100   size   file_twenty_nine
96   size   file_thirty
100   size   file_thirty_one
...
100   size   file_last
    \
***************

So is there a way to only re-hash/re-download "file_thirty" or the
missing chunk of it?
Because re-hashing the whole torrent takes ages if the torrent is big
enough. Also i suspect that maybe the combination of
rtorrent/LUKS/Kernel-2.6.24 sometimes causes me false
positives/negatives on hash-checks (same symptoms as with the "kernel
2.6.18"-issue discussed in may tickets). But that's another problem.


/Bernhard


More information about the Libtorrent-devel mailing list