The .parts file remains after the torrent is finished downloading #15629

Open
opened 2026-02-22 02:20:01 -05:00 by deekerman · 5 comments
Owner

Originally created by @stalkerok on GitHub (Mar 27, 2024).

qBittorrent & operating system versions

qBittorrent v4.6.4 (64-bit)
Qt: 6.4.3
Libtorrent: 1.2.19.0
Boost: 1.84.0
OpenSSL: 1.1.1w
zlib: 1.3.1
OS: 10.0.19045.3996 (10.0.19045)

What is the problem?

If you downloaded one file from the torrent first, and then downloaded all the other files, you shouldn't have a .parts file left, since all pieces of the torrent have been downloaded, but the file remains.

Also reproduced in the master.
Behavior in lt 2.0 has not been tested.

Steps to reproduce

  1. Find a multi-file torrent and download it partially.
  2. Mark the remaining files and download the torrent completely.
  3. The .parts file remains. If you continue seeding, it will never be deleted.

Additional context

No response

Log(s) & preferences file(s)

No response

Originally created by @stalkerok on GitHub (Mar 27, 2024). ### qBittorrent & operating system versions qBittorrent v4.6.4 (64-bit) Qt: 6.4.3 Libtorrent: 1.2.19.0 Boost: 1.84.0 OpenSSL: 1.1.1w zlib: 1.3.1 OS: 10.0.19045.3996 (10.0.19045) ### What is the problem? If you downloaded one file from the torrent first, and then downloaded all the other files, you shouldn't have a .parts file left, since all pieces of the torrent have been downloaded, but the file remains. Also reproduced in the master. Behavior in lt 2.0 has not been tested. ### Steps to reproduce 1. Find a multi-file torrent and download it partially. 2. Mark the remaining files and download the torrent completely. 3. The .parts file remains. If you continue seeding, it will never be deleted. ### Additional context _No response_ ### Log(s) & preferences file(s) _No response_
Author
Owner

@stalkerok commented on GitHub (Mar 27, 2024):

related https://github.com/arvidn/libtorrent/issues/7603

@stalkerok commented on GitHub (Mar 27, 2024): related https://github.com/arvidn/libtorrent/issues/7603
Author
Owner

@yueisme commented on GitHub (May 12, 2024):

delete .parts file will break seeding.

https://github.com/qbittorrent/qBittorrent/issues/19048

@yueisme commented on GitHub (May 12, 2024): delete `.parts` file will break seeding. https://github.com/qbittorrent/qBittorrent/issues/19048
Author
Owner

@stalkerok commented on GitHub (May 12, 2024):

@yueisme, it's not talking about deleting the .parts file manually, and what you're talking about I already know perfectly well.

@stalkerok commented on GitHub (May 12, 2024): @yueisme, it's not talking about deleting the .parts file manually, and what you're talking about I already know perfectly well.
Author
Owner

@yueisme commented on GitHub (May 14, 2024):

Sorry I misunderstood you, I think parts file management should be taken a step further.

After download full contents of the torrent needs to confirm that the parts file is redundant. It would be depend on libtorrent make some recheck?

I looking forward can provide some setting can delete parts file when arrive seed limit.

@yueisme commented on GitHub (May 14, 2024): Sorry I misunderstood you, I think parts file management should be taken a step further. After download full contents of the torrent needs to confirm that the parts file is redundant. It would be depend on libtorrent make some recheck? I looking forward can provide some setting can delete parts file when arrive seed limit.
Author
Owner

@stalkerok commented on GitHub (Dec 13, 2024):

@thalieht please add the libtorrent label.

@stalkerok commented on GitHub (Dec 13, 2024): @thalieht please add the libtorrent label.
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#15629
No description provided.