mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Option to delete individual files already downloaded in the torrent. #14075
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#14075
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @anonghuser on GitHub (Dec 6, 2022).
Suggestion
Please add a 'delete' option in the right-click menu for files that are partially or completely allocated/downloaded but have later been changed to 'not downloaded' priority. On clicking it, the still-needed shared edge pieces should be moved to a .parts file and the file should be deleted.
Use case
If I have partially or completely downloaded some file in a torrent but decide I do not want it, I can uncheck it from the files list but that does not delete it from the downloads folder. I can delete it manually in explorer, but that's less convenient and leads to errors in pieces shared with other files, so I have to force recheck and re-download the edges, hoping there are other seeders for it etc.
Extra info/examples/attachments
No response
@glassez commented on GitHub (Dec 6, 2022):
It isn't supported by backend (libtorrent). You could participate in the related request: https://github.com/arvidn/libtorrent/issues/7143.
@anonghuser commented on GitHub (Dec 7, 2022):
I don't want to cause a hassle with my potential misunderstanding of things, but it seems you can 1) remove a torrent from libtorrent 2) move/delete unwanted file 3) add torrent back to libtorrent; this will still cause an issues with edge pieces shared with other files, so the only thing that needs to be added is copying those pieces to a .parts file first. If that is currently impossible with libtorrent, perhaps a more focused issue just for this should be opened with them? It may be simpler to implement than a general 'ignore file', and seems like a necessary step even if 'ignore file' were already implemented.
@glassez commented on GitHub (Dec 8, 2022):
Sure. But you can do something like that too (delete torrent, delete files, re-add torrent with unchecked files). Don't take it as a desire to offend you. It's just that I, as a developer, also prefer to get some function rather than use a workaround.
@user9517 commented on GitHub (Dec 23, 2023):
@glassez Hey, a question, when I deselect an already downloaded file from a torrent, and delete the file from file system, then run a recheck on the torrent, qbittorrent shows that the first/last pieces of other files are missing, which is ok, but if I now resume the torrent to download the missing pieces, the deselected files that I deleted come back! why aren't the missing pieces go to a .parts file? (like they would have if the deselected files were deselected before being downloaded).
It makes the folder filled with files I didn't want... So if I want the folder to contain only the correct files, I have to remove the torrent from qb, add the torrent again, deselect all the files I don't want (which can be a huge number of files), then run recheck, then resume and download missing pieces (in this way the unwanted files do not come back into the folder)
It seems to me like if the program starts downloading pieces of a non-existent AND deselected file, it shouldn't recreate the file.
@glassez commented on GitHub (Dec 23, 2023):
@Phantom1472
Seems like libtorrent does mark piece parts to be stored either in target file or in .parts file only when adding a torrent to the session and doesn't reset them on recheck.
@user9517 commented on GitHub (Dec 23, 2023):
@glassez hmmm... So, qb cannot solve it? Only removing and adding the torrent again?
Is there anyway i can keep the file selecteion for download between removing and adding the torrent again? That would make this WAY easier, maybe a way to export the selection then import is again somehow?
@stalkerok commented on GitHub (Jan 1, 2025):
Related/Duplicate of https://github.com/qbittorrent/qBittorrent/issues/18641
@xavier2k6 commented on GitHub (May 25, 2025):
ANNOUNCEMENT!
For anybody coming across this "Feature Request" & would like/love to see a potential implementation in the future!
Here are some options available to you:
Please select/click the 👍 &/or ❤
reactionsin the original/opening post of this ticket.Please feel free (If you have the "skillset") to create a "Pull Request" implementing what's being requested in this ticket.
(new/existing contributors/developers are always welcome)
DO:
DO NOT:
(These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)