This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Don't force download on files I don't select

Tags: None
(comma "," separated)
i23098
Registered Member
Posts
28
Karma
0
Ok, let's see if I can explain :lol:

When I download a torrent, it can have files with older versions... Let's say, file F is on version 2 (that I have) but on the torrent I download, that file is on version 1. The torrent have other files that I don't have :P

So, when pop-up appears, I deselect file F... but then ktorrent asks if I want to delete the file :evil: Of course not, so I say, no thanks, but then, ktorrent assumes that I want to download the files, and checks it's contents, and they don't match the contents of the torrent, so the file content gets deleted!!!!!

So, what I want is that when I deselect a file it should assume "Don't download", so if there's no match with the torrent, it doesn't delete the file content.

This is a real bug that leads to data loss, as I unfortunately found, so if I don't explain myself correctly, please ask me what you need to clarify...
Lain_13
Registered Member
Posts
103
Karma
0

Thu Jul 16, 2009 1:36 am
Let's make it a bit clearer.
1. You have file v2.
2. You trying to download torrent with file v1.

In such case you should deselect this file when window 'opening [torrentname]' pops up. Right? You deselected this file and pressed OK. What happened next?


What isn`t remembered never happened. Memory is merely a record. You just need to rewrite that record.
i23098
Registered Member
Posts
28
Karma
0

Thu Jul 16, 2009 11:41 am
Lain_13 wrote:Let's make it a bit clearer.
1. You have file v2.
2. You trying to download torrent with file v1.

In such case you should deselect this file when window 'opening [torrentname]' pops up. Right?

Right...
Lain_13 wrote:You deselected this file and pressed OK. What happened next?


Ktorrent says something in the lines of "You deselected file F, so I will deleted it. Are you sure?".

Then I click "No, thanks".

Then, ktorrent assumes I want to download the file, and during the check of the data, checksums don't match, so ktorrent corrupts my file to try to download v1.

I forgot to mention my KTorrent version... it's 3.2.1 of Ubuntu's repositories...
George
Moderator
Posts
5421
Karma
1

Thu Jul 16, 2009 2:56 pm
I have a simple solution for this problem :

Move the v1 file somewhere else, or rename it.

You should not be mixing content of two torrents which are not the same.
i23098
Registered Member
Posts
28
Karma
0

Thu Jul 16, 2009 10:52 pm
George wrote:I have a simple solution for this problem :

Move the v1 file somewhere else, or rename it.

You should not be mixing content of two torrents which are not the same.


I could accept that solution... but...

If I move the file somewhere else, then load the torrent with v1, let it check the data, put file F as don't download, put F v2 in the directory, then re-check, ktorrent does what is supposed to do, see that the file don't match but since it's on "Don't download" it doesn't screw it...

I would like the same behaviour when deselecting on the pop-up dialog that appears when loading a torrent. Why does ktorrent want to delete the files I deselect?!? It should simply assume don't download...
Lain_13
Registered Member
Posts
103
Karma
0

Sat Jul 18, 2009 2:54 pm
I think you can't keep different version of file like you want.
Look, here is example which explains why you can't do that.

Files:
########|#####|#############
Blocks:
#####|#####|#####|#####|#####

Do you see problem? If you replace second file blocks 2 and 3 will be broken. But these blocks contain information not only about file 2 but about all 3 files! That's why when you recheck torrent these block will be redownloaded and placed back. As result file 2 became broken (if contain more blocks) or reverted back to version from torrent.


What isn`t remembered never happened. Memory is merely a record. You just need to rewrite that record.
i23098
Registered Member
Posts
28
Karma
0

Sat Jul 18, 2009 7:02 pm
I understand what you say... but... :roll: What I'm trying to do is deselect everything...

Basically, I want a way do share what I have to build ratio and don't download anything.

But when I deselect everything, KTorrent only gives me the option to delete the files or to keep them at the cost of breaking data that don't match.

As I said in my previous post, deselect should mean "don't download". This way, if it matches it gets shared, if not, it isn't shared and it doesn't break it...


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]