[3.3.15] Unchecked folders will be created over and over again #6009

Closed
opened 2026-02-21 18:10:31 -05:00 by deekerman · 6 comments
Owner

Originally created by @Symbai on GitHub (Sep 1, 2017).

Please provide the following information

qBittorrent version and Operating System:

3.3.15, Windows 8.1 64bit

What is the problem:

I add a torrent and in the adding a torrent screen, i uncheck certain files and folders.
But when the torrent is finished I open the target location and see that the folders I've unchecked (should not be downloaded) are created. They are empty but created for which purporse?

If I delete these empty folders, they will be created again (for example by a recheck in qbittorrent).

What is the expected behavior:

Unchecked files shouldn't get downloaded.
Unchecked folders shouldn't get created.

Extra info(if any):

I've also noticed that regardless of the folder issue. Sometimes qBittorrent creates !qb files for files that I've unchecked as well. I've searched and found a couple of similar reported issues but none of them were solved.

//edit: Made a gif. So as you can see the torrent has two folders I've had unchecked on adding. On completion both folders existed in the download location. I've deleted both folders, did I recheck in qbittorrent and now, qbittorrent has created the Sample folder (but not the other folder!) and placed a !qb file in it.

This makes me asking three questions:

  1. Why creating ALL unchecked folders at first?
  2. Why creating only SOME unchecked folders at recheck?
  3. Why placing !qb files into folders that shouldn't exist for files that are excluded to download?

untitled project

Originally created by @Symbai on GitHub (Sep 1, 2017). **Please provide the following information** ### qBittorrent version and Operating System: 3.3.15, Windows 8.1 64bit ### What is the problem: I add a torrent and in the adding a torrent screen, i uncheck certain files and folders. But when the torrent is finished I open the target location and see that the folders I've unchecked (should not be downloaded) are created. They are empty but created for which purporse? If I delete these empty folders, they will be created again (for example by a recheck in qbittorrent). ### What is the expected behavior: Unchecked files shouldn't get downloaded. Unchecked folders shouldn't get created. ### Extra info(if any): I've also noticed that regardless of the folder issue. Sometimes qBittorrent creates !qb files for files that I've unchecked as well. I've searched and found a couple of similar reported issues but none of them were solved. //edit: Made a gif. So as you can see the torrent has two folders I've had unchecked on adding. On completion both folders existed in the download location. I've deleted both folders, did I recheck in qbittorrent and now, qbittorrent has created the Sample folder (but not the other folder!) and placed a !qb file in it. This makes me asking three questions: 1. Why creating ALL unchecked folders at first? 2. Why creating only SOME unchecked folders at recheck? 3. Why placing !qb files into folders that shouldn't exist for files that are excluded to download? ![untitled project](https://user-images.githubusercontent.com/14368203/29988558-62b9d662-8f6e-11e7-8eb5-a348be67d88a.gif)
Author
Owner

@furyritchie commented on GitHub (Sep 25, 2017):

I have this issue too.

Due to this I get I/O errors from qBitTorrent if I'm downloading multiple items into the same folder where there is a common filename in the torrents that I have already unchecked but it gets created anyway and has conflicts with other torrents.

v3.3.16 64-bit
Windows Server 2016

@furyritchie commented on GitHub (Sep 25, 2017): I have this issue too. Due to this I get I/O errors from qBitTorrent if I'm downloading multiple items into the same folder where there is a common filename in the torrents that I have already unchecked but it gets created anyway and has conflicts with other torrents. v3.3.16 64-bit Windows Server 2016
Author
Owner

@mzso commented on GitHub (Nov 20, 2017):

Indeed. I think they're created instantly. Also, still happens in 4.0.0
All of these sub folders have an ".unwanted" hidden folder in them with the unwanted file. It's rather spammy in my opinion.
Yet another reason to remove the .unwanted folder feature (apart from #2798) and replace it with something else.

@mzso commented on GitHub (Nov 20, 2017): Indeed. I think they're created instantly. Also, still happens in 4.0.0 All of these sub folders have an ".unwanted" hidden folder in them with the unwanted file. It's rather spammy in my opinion. Yet another reason to remove the .unwanted folder feature (apart from #2798) and replace it with something else.
Author
Owner

@mzso commented on GitHub (Nov 20, 2017):

I did a bit of testing on 4.0.0. And it only happened to me when I checked a previously unchecked file after the torrent finished downloading. And not when I left the torrent alone after I started downloading and leaving as it is.
So maybe partfile support was implemented, but it's buggy?! And such subfolders and .unwanted folders are only created when you modify a torrent?

Can anyone confirm what I experienced?

@mzso commented on GitHub (Nov 20, 2017): I did a bit of testing on 4.0.0. And it only happened to me when I checked a previously unchecked file after the torrent finished downloading. And not when I left the torrent alone after I started downloading and leaving as it is. So maybe partfile support was implemented, but it's buggy?! And such subfolders and .unwanted folders are only created when you modify a torrent? Can anyone confirm what I experienced?
Author
Owner

@mzso commented on GitHub (Nov 20, 2017):

There are other weirdnesses also. Where unselected but present files/folders seem to disappear and reappear. ( @sledgehammer999 can you confirm that partfiles were implemented in QB?)
And it seems like some files and up being copied back and forth between the temporary download ("keep incomplete torrents in")folder and the target folder for a piece worth of download.

Also if I select a file/folder that's already present but not selected before, I don't get a re-hash, but QBT starts downloading it.

There's a bunch of issues with this it seems.

Here's how I tested and noticed these issues:

  1. Had a torrent with with this structure: separate folders for an .mkv video file and an nfo.
  2. I only had a few of these subfolders (episodes) downloaded.
  3. When I added the torrent I made sure to have one unselected, and only an nfo unselected for the other. I selected no new folders.
  4. I noticed the unselected folder (or only it's files in another occasion) disappearing, then reappearing. The might have been moved back and forth a defined temporary download folder. (I didn't catch this, I might not have been fast enough)
  5. I also noticed the .mkv video file (which was selected) from the folder where the .nfo unselected appearing in the temporary download folder, meanwhile the HDD was working hard, after which it disappeared, so it was in the process of being copied.
  6. After this I selected the episode folder (both files) of the one I left out before. QB started downloading it instead of checking, so I stopped the torrent and forced a recheck.
    7.ALL the files ended up being copied back to the temporary download folder and then back to the download folder, which is really bad, because it's on a different drive (SSD), so it just murders both drives pointlessly, and last a really long time.
    I also noticed a .unwanted folder appearing in this episode's folder, which makes no sense, because everything's selected in this folder
  7. I also noticed a bunch of .parts files in the temporary download folder, so since they're not necessarily in the same folder as the downloaded files, might they have their own dedicated folder is I suggested? ( https://github.com/qbittorrent/qBittorrent/issues/2798#issuecomment-345698412 )

Edit:
Since this didn't receive any attention, I think I'm gonna open a new issue for distinct stuff.

@mzso commented on GitHub (Nov 20, 2017): There are other weirdnesses also. Where unselected but present files/folders seem to disappear and reappear. ( @sledgehammer999 can you confirm that partfiles were implemented in QB?) And it seems like some files and up being copied back and forth between the temporary download ("keep incomplete torrents in")folder and the target folder for a piece worth of download. Also if I select a file/folder that's already present but not selected before, I don't get a re-hash, but QBT starts downloading it. There's a bunch of issues with this it seems. Here's how I tested and noticed these issues: 1. Had a torrent with with this structure: separate folders for an .mkv video file and an nfo. 2. I only had a few of these subfolders (episodes) downloaded. 3. When I added the torrent I made sure to have one unselected, and only an nfo unselected for the other. I selected no new folders. 4. I noticed the unselected folder (or only it's files in another occasion) disappearing, then reappearing. The might have been moved back and forth a defined temporary download folder. (I didn't catch this, I might not have been fast enough) 5. I also noticed the .mkv video file (which <u>was</u> selected) from the folder where the .nfo unselected appearing in the temporary download folder, meanwhile the HDD was working hard, after which it disappeared, so it was in the process of being copied. 6. After this I selected the episode folder (both files) of the one I left out before. QB started downloading it instead of checking, so I stopped the torrent and forced a recheck. 7.<u>ALL</u> the files ended up being copied back to the temporary download folder and then back to the download folder, which is really bad, because it's on a different drive (SSD), so it just murders both drives pointlessly, and last a really long time. I also noticed a .unwanted folder appearing in this episode's folder, which makes no sense, because everything's selected in this folder 8. I also noticed a bunch of .parts files in the temporary download folder, so since they're not necessarily in the same folder as the downloaded files, might they have their own dedicated folder is I suggested? ( https://github.com/qbittorrent/qBittorrent/issues/2798#issuecomment-345698412 ) Edit: Since this didn't receive any attention, I think I'm gonna open a new issue for distinct stuff.
Author
Owner

@mzso commented on GitHub (Nov 20, 2017):

(Note: I updated the above comment)

I also did another simpler test with a torrent with an identical layout.

  1. I selected a couple of .nfo-s. (to don't wast bandwidth/time) and started the download.
  2. the appropriate folders files appeared.
  3. selected a third .nfo
  4. now I go spammed. all unselected folders appeared and all had an empty .unwanted folder in them, including the folders with the nfo-s.
@mzso commented on GitHub (Nov 20, 2017): (Note: I updated the above comment) I also did another simpler test with a torrent with an identical layout. 1. I selected a couple of .nfo-s. (to don't wast bandwidth/time) and started the download. 2. the appropriate folders files appeared. 3. selected a third .nfo 4. now I go spammed. all unselected folders appeared and all had an <u>empty</u> .unwanted folder in them, including the folders with the nfo-s.
Author
Owner

@mzso commented on GitHub (Nov 26, 2017):

Bah. I just got a file that was missing it's first piece so it was unplayable, I had to force a re-check.
This area is so buggy...

@mzso commented on GitHub (Nov 26, 2017): Bah. I just got a file that was missing it's first piece so it was unplayable, I had to force a re-check. This area is so buggy...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#6009
No description provided.