Comment 7 for bug 598352

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok. I managed to reproduce by filtering files in a torrent. I believe this is due to the following:
- A torrent file is separated into regular size pieces
- These pieces can actually contain parts of several files
- A Bittorrent client does not actually consider files, but these pieces

Libtorrent is not able to download part of a piece, only full pieces. As a consequence, it is possible that qBittorrent will have to download 196MB (the size of all the pieces) although you are only interested in 192.7MB (the actual size of the files you are interested in).

I do agree that this can be confusing for users so I 'll try to find a better way.

For your information, the full pieces download is also the reason why some unwanted files appear on the filesystem although you chose not to download them. This means that those files were next to wanted file in the torrent and pieces at files extremities can contain parts of more than one file.