Run external program parameter is incorrect when "keep incomplete torrents in" is used. #2885

Closed
opened 2026-02-21 16:27:56 -05:00 by deekerman · 3 comments
Owner

Originally created by @AlexHimself on GitHub (Aug 3, 2015).

All of these settings are located under Tools>Options, Downloads and I'm using v3.2.3

Setup

I am using the Run external program feature with a bug.

I have "Keep incomplete torrents in" turned on with the directory:

X:/Downloads/Incomplete

The "Save files to location is"

X:/Downloads

Issue

If I download a folder FOO, upon download completion, the external program will produce

%f = X:/Downloads/Incomplete
%n = FOO

But the expected output and actual file location would be:

%f = X:/Downloads/FOO

Test/Repro batch file

Here is a batch file I used to test this:

@echo off
echo F is %1
echo N is %2
pause

And the external command to run under the the options is:

BatchTest.bat "%f" "%n"
Originally created by @AlexHimself on GitHub (Aug 3, 2015). All of these settings are located under `Tools>Options, Downloads` and I'm using v3.2.3 ### Setup I am using the **Run external program** feature with a bug. I have "**Keep incomplete torrents in**" turned on with the directory: ``` X:/Downloads/Incomplete ``` The "**Save files to location is**" ``` X:/Downloads ``` ### Issue If I download a folder `FOO`, upon download completion, the external program will produce > %f = **X:/Downloads/Incomplete** > %n = **FOO** But the expected output and actual file location would be: > %f = **X:/Downloads/FOO** ### Test/Repro batch file Here is a batch file I used to test this: ``` @echo off echo F is %1 echo N is %2 pause ``` And the external command to run under the the options is: ``` BatchTest.bat "%f" "%n" ```
Author
Owner

@sledgehammer999 commented on GitHub (Aug 4, 2015):

This is fixed by #3457 and #3497 for v3.3.0 (currently unreleased). However, it will not be backported in the v3.2.x series. The codebases of the 2 series are quite different.

@sledgehammer999 commented on GitHub (Aug 4, 2015): This is fixed by #3457 and #3497 for v3.3.0 (currently unreleased). However, it will not be backported in the v3.2.x series. The codebases of the 2 series are quite different.
Author
Owner

@AlexHimself commented on GitHub (Aug 4, 2015):

Great to hear, any guess on the release of v3.3.0? :)

@AlexHimself commented on GitHub (Aug 4, 2015): Great to hear, any guess on the release of v3.3.0? :)
Author
Owner

@sledgehammer999 commented on GitHub (Aug 4, 2015):

No. But if you aren't using trackers that ban alpha/beta versions you can go to the forum and download the latest beta.

@sledgehammer999 commented on GitHub (Aug 4, 2015): No. But if you aren't using trackers that ban alpha/beta versions you can go to the forum and download the latest beta.
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#2885
No description provided.