Skip to content

4.2.5 overwrites files if file names are the same #12842

Description

@ned-martin

qBittorrent version and Operating System

4.2.5x64 / Windows 10 (10.0.1xxxx)

What is the problem

When "Create subfolder for torrents with multiple files" is enabled, and more than one torrent of the same name, and/or containing one or more files of the same name, begins to download, it overwrites the other one, resulted in lost data, and the torrent re-downloading again (which then repeats the process, the torrents would likely never complete)

What is the expected behavior

The automatically-created subfolder should use common collision avoidance naming rules, for example, Folder, Folder (1), Folder (2)

Alternatively, if that's somehow impossible, a much worse solution would be that any new torrent could go into an error-state when it tries to start by detecting a name collision with an existing file and allow the user to choose to rectify the problem in some manner, by renaming the torrent or file/s for example.

Steps to reproduce

(I don't know if all of these options are required, but this is what I have set)
Enable "create subfolder for torrents with multiple/ files"
Enable "Append .!qB extension to incomplete files"
Default torrent management mode: Automatic
Default save path:
Keep incomplete torrents in:

I'm aware this issue has been reported before and is not specific to 4.2.5, but it seems to still persist and is a fundamental issue preventing the normal use of the program, that I can only assume would be trivial to fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions