Torrent should be moved to target folder after it is complete #14019

Open
opened 2026-02-22 00:35:51 -05:00 by deekerman · 12 comments
Owner

Originally created by @MyGitHub5 on GitHub (Nov 28, 2022).

qBittorrent & operating system versions

qBittorrent: 4.5.0 x64
Operating system: ubuntu
Qt: 6.4.1
Libtorrent: 1.2.18.0
Boost: 1.80.0
OpenSSL: 3.0.7
zlib: 1.2.12.zlib-ng

What is the problem?

torrent in the final folder before copmlete...
it's should complete then run move torrent

for some reason the qbittorrent sometimes save the torrent in the filnal path instead of Temp or it's save in both

on qBittorrent: 4.4.5 it's good !
same settings...

Steps to reproduce

No response

Additional context

Settings:
DefaultSavePath=/torrent/
TempPath=/torrent/Temp/
TorrentContentLayout=Subfolder

case 1:
add torrent with Save files to location = /torrent/Complete

(N) 2022-11-28T19:32:42 - Added new torrent. Torrent: "Episode1"
(W) 2022-11-28T19:32:55 - File error alert. Torrent: "Episode1". File: "/torrent/Temp/Episode1/Episode1". Reason: "Episode1 file_open (/torrent/Temp/Episode1/Episode1) error: No such file or directory"

The torrent in /torrent/Complete before torrent finish

case 2:
add torrent with Save files to location = /torrent/Complete

(N) 2022-11-28T19:32:39 - Added new torrent. Torrent: "Episode2"
(N) 2022-11-28T19:34:39 - Enqueued torrent move. Torrent: "Episode2". Source: "/torrent/Temp". Destination: "/torrent/Complete"
(N) 2022-11-28T19:34:39 - Start moving torrent. Torrent: "Episode2". Destination: "/torrent/Complete"
(N) 2022-11-28T19:34:39 - Moved torrent successfully. Torrent: "Episode2". Destination: "/torrent/Complete"
(N) 2022-11-28T19:34:39 - Torrent download finished. Torrent: "Episode2"
(N) 2022-11-28T19:34:45 - Torrent reached the share ratio limit. Removed torrent. Torrent: "Episode2".
(N) 2022-11-28T19:34:45 - Removed torrent. Torrent: "Episode2"

The torrent in /torrent/Complete before torrent finish

Log(s) & preferences file(s)

No response

Originally created by @MyGitHub5 on GitHub (Nov 28, 2022). ### qBittorrent & operating system versions qBittorrent: 4.5.0 x64 Operating system: ubuntu Qt: 6.4.1 Libtorrent: 1.2.18.0 Boost: 1.80.0 OpenSSL: 3.0.7 zlib: 1.2.12.zlib-ng ### What is the problem? torrent in the final folder before copmlete... it's should complete then run move torrent for some reason the qbittorrent sometimes save the torrent in the filnal path instead of Temp or it's save in both on qBittorrent: 4.4.5 it's good ! same settings... ### Steps to reproduce _No response_ ### Additional context Settings: DefaultSavePath=/torrent/ TempPath=/torrent/Temp/ TorrentContentLayout=Subfolder case 1: add torrent with Save files to location = /torrent/Complete (N) 2022-11-28T19:32:42 - Added new torrent. Torrent: "Episode1" (W) 2022-11-28T19:32:55 - File error alert. Torrent: "Episode1". File: "/torrent/Temp/Episode1/Episode1". Reason: "Episode1 file_open (/torrent/Temp/Episode1/Episode1) error: No such file or directory" The torrent in /torrent/Complete before torrent finish case 2: add torrent with Save files to location = /torrent/Complete (N) 2022-11-28T19:32:39 - Added new torrent. Torrent: "Episode2" (N) 2022-11-28T19:34:39 - Enqueued torrent move. Torrent: "Episode2". Source: "/torrent/Temp". Destination: "/torrent/Complete" (N) 2022-11-28T19:34:39 - Start moving torrent. Torrent: "Episode2". Destination: "/torrent/Complete" (N) 2022-11-28T19:34:39 - Moved torrent successfully. Torrent: "Episode2". Destination: "/torrent/Complete" (N) 2022-11-28T19:34:39 - Torrent download finished. Torrent: "Episode2" (N) 2022-11-28T19:34:45 - Torrent reached the share ratio limit. Removed torrent. Torrent: "Episode2". (N) 2022-11-28T19:34:45 - Removed torrent. Torrent: "Episode2" The torrent in /torrent/Complete before torrent finish ### Log(s) & preferences file(s) _No response_
Author
Owner

@brenrich101 commented on GitHub (Dec 7, 2022):

Getting the same issue on Windows.

Have my temp location setup with the append .!qB extension enabled. Started a torrent, it stalled for a moment shortly after adding then picked up again (not sure if this is related). It copied one single file that wasn't complete into the final location, and removed the incomplete extension. The file wasn't marked as complete on the program, and the file was unreadable.

@brenrich101 commented on GitHub (Dec 7, 2022): Getting the same issue on Windows. Have my temp location setup with the append .!qB extension enabled. Started a torrent, it stalled for a moment shortly after adding then picked up again (not sure if this is related). It copied one single file that wasn't complete into the final location, and removed the incomplete extension. The file wasn't marked as complete on the program, and the file was unreadable.
Author
Owner

@luzpaz commented on GitHub (Apr 12, 2023):

This ticket should be renamed "Torrent should be moved to target folder after it is complete" or something more descriptive.

@luzpaz commented on GitHub (Apr 12, 2023): This ticket should be renamed "Torrent should be moved to target folder after it is complete" or something more descriptive.
Author
Owner

@glassez commented on GitHub (May 19, 2024):

In fact, the torrent completes the download before moving the files to the final directory. But the torrent downloading is considered to be "finished" only after the files moving is done.
We can only print the above-mentioned log message immediately after the file download is completed, if the current option is so confusing to you.

@glassez commented on GitHub (May 19, 2024): In fact, the torrent completes the download before moving the files to the final directory. But the torrent downloading is considered to be "finished" only after the files moving is done. We can only print the above-mentioned log message immediately after the file download is completed, if the current option is so confusing to you.
Author
Owner

@MyGitHub5 commented on GitHub (May 20, 2024):

Sometimes the torrent files move to target directory before the download is completed...

See case 1.
Case 2 it's good.

@MyGitHub5 commented on GitHub (May 20, 2024): Sometimes the torrent files move to target directory before the download is completed... See case 1. Case 2 it's good.
Author
Owner

@glassez commented on GitHub (May 21, 2024):

Sometimes the torrent files move to target directory before the download is completed...

See case 1.

The following does not contain any useful information to understand what is going on:

case 1: add torrent with Save files to location = /torrent/Complete

(N) 2022-11-28T19:32:42 - Added new torrent. Torrent: "Episode1" (W) 2022-11-28T19:32:55 - File error alert. Torrent: "Episode1". File: "/torrent/Temp/Episode1/Episode1". Reason: "Episode1 file_open (/torrent/Temp/Episode1/Episode1) error: No such file or directory"

The torrent in /torrent/Complete before torrent finish

Besides, it does not indicate in any way that "The torrent in /torrent/Complete"

@glassez commented on GitHub (May 21, 2024): > Sometimes the torrent files move to target directory before the download is completed... > > See case 1. The following does not contain any useful information to understand what is going on: > case 1: add torrent with Save files to location = /torrent/Complete > > (N) 2022-11-28T19:32:42 - Added new torrent. Torrent: "Episode1" (W) 2022-11-28T19:32:55 - File error alert. Torrent: "Episode1". File: "/torrent/Temp/Episode1/Episode1". Reason: "Episode1 file_open (/torrent/Temp/Episode1/Episode1) error: No such file or directory" > > The torrent in /torrent/Complete before torrent finish Besides, it does not indicate in any way that "The torrent in /torrent/Complete"
Author
Owner

@MyGitHub5 commented on GitHub (May 24, 2024):

How i can give you log that help you to fix this...

@MyGitHub5 commented on GitHub (May 24, 2024): How i can give you log that help you to fix this...
Author
Owner

@glassez commented on GitHub (May 25, 2024):

How i can give you log that help you to fix this...

It should contain all the messages from adding the torrent to finishing it and moving it to the target folder, isn't it obvious?
Besides the log, any details (descriptions, explanations, screenshots, etc.) would be useful. Just keep in mind that I can't know anything about this case other than what you provided to me.

@glassez commented on GitHub (May 25, 2024): > How i can give you log that help you to fix this... It should contain all the messages from adding the torrent to finishing it and moving it to the target folder, isn't it obvious? Besides the log, any details (descriptions, explanations, screenshots, etc.) would be useful. Just keep in mind that I can't know anything about this case other than what you provided to me.
Author
Owner

@MyGitHub5 commented on GitHub (May 25, 2024):

I ask because sometimes the developer need log level X.
Ok. Next time I'll send you log.

You have Telegram?

@MyGitHub5 commented on GitHub (May 25, 2024): I ask because sometimes the developer need log level X. Ok. Next time I'll send you log. You have Telegram?
Author
Owner

@MyGitHub5 commented on GitHub (Aug 31, 2024):

I have a log, where i can send it to you?

@MyGitHub5 commented on GitHub (Aug 31, 2024): I have a log, where i can send it to you?
Author
Owner

@luzpaz commented on GitHub (Sep 2, 2024):

You can zip it and attach. If it's too big, then upload to a 3rd party storage/download service?

@luzpaz commented on GitHub (Sep 2, 2024): You can zip it and attach. If it's too big, then upload to a 3rd party storage/download service?
Author
Owner

@MyGitHub5 commented on GitHub (Sep 4, 2024):

I prefer to send it in private, is there option?

@MyGitHub5 commented on GitHub (Sep 4, 2024): I prefer to send it in private, is there option?
Author
Owner

@luzpaz commented on GitHub (Sep 5, 2024):

@xavier2k6 👆

@luzpaz commented on GitHub (Sep 5, 2024): @xavier2k6 :point_up_2:
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#14019
No description provided.