New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Already existing files moved to .unwanted. And then erased erroneoulsy... #2798
Comments
Simple fix. Do NOT check files as "Not Downloaded" and the problem will not happen. Also read up on how the Bittorrent protocol actually works, and what cross file pieces are. |
Hi! I'm aware of cross file pieces. It doesn't necessitate/validate a file that falsely appears to be full downloaded size. |
|
@sledgehammer999 commented on 2015. márc. 29. 18:35 CEST:
That's great. |
Those are sparse files. They signal the OS that they eventually will be X size but for now they just have less than X size.
The current functionality doesn't allow for a fix. Unmarked files are moved into the .unwanted folder. qbt cannot differentiate on pre-existing files and files written by qbt because the file user had initially selected the file and then unselected it. |
@sledgehammer999 commented on 2015. márc. 29. 18:50 CEST:
Hmm... But what point is there for it to be used on a chunk that won't increase at all.
Well, it could leave these two where they are at least. |
Let me rephrase my quote:
.
That file is probably part of a piece(bittorrent term) that belongs to 2 files. |
@sledgehammer999 commented on 2015. márc. 29. 19:33 CEST:
I understand. It could still chose to not delete them when I remove the torrent from qbt.
I understand this too. But one of them had a normal filesize (1.5MB) the other appeared to be 850 because it was a sparse file for some reason, no idea why. |
How? |
@chrishirst commented on 2015. márc. 30. 11:29 CEST:
What do you mean how? By leaving them where they are. |
But how can it know what you have unchecked them because you do not want the files and what you have unchecked because you no longer want the files?? Unchecked is unchecked to the client, it cannot know what your intent is when you uncheck them. Mind reading computers are still in the realms of science fiction. |
Trolling much? @chrishirst commented on 2015. márc. 30. 13:33 CEST:
This is not even the issue... The issue is that I already have those files
Seriously. If you don't even understand the issue, why spam? This has nothing to do with the fact why you unchecked a file.
No-one expected that. The client could leave files that were created by whoever. |
This is what I am trying to tell you. Once you enter that save path all bets are off. qbt has the behavior of "files the user hasn't checked go into .unwanted." So at a later stage, eg you mark/umarked a totally unrelated file from the torrent after you have added it, it tells itself "hmm what are the unchecked files? -> this list. Do they exist in the save path? ->yes. Move them into the unwated folder". It may be possible with many checks and guards in the algorithm to eventually achieve what you're saying but I am not going to bother. If I bother with unwanted it will be because I started removing the feature. |
Okay, then it's settled. I don't like .unwanted anyway. |
I tried 3.4.0 and I still see an unwanted folder. (and remembered this discussion) So was it's removal abandoned? Or am I missing something. |
I've been thinking about this. I think it would be best to keep all pieces in a separate location, such as "BT_backup" (as .pieces or such) where the added torrents are stored anyway or a dedicated folder which can be changed independently. Reasoning:
|
Hello!
I downloaded a torrent with only one file selected out of several 800-900MB files.
I already had two files of probably the same torrent from earlier.
They ended up being moved to the .unwanted folder. Which is undesirable in my opinion. Also confusing because it thought they were created pointlessly.
But it's even weirder that I got two more files that show up as 1.5MB (which is expected) and ~850MB in file managers (explorer, total commander).
The windows file properties window shows a similar disc size for the small file, but the big file shows up as 128 KB. Which is really misleading and confusing. I don't see a point for this.
Edit:
So I removed the torrent. Didn't check "also remove files" or whatever.
The old files previously moved .unwanted were deleted. Ouch...
The text was updated successfully, but these errors were encountered: