Skip to content

"Create new torrent from folder..." duplicates every file in child folders, and moves them to the root on-disk #1921

@R0quef0rt

Description

@R0quef0rt

What version of WebTorrent Desktop are you using?
0.24.0

What operating system and version?
Windows 10 Pro 1909

What happened?
I added a new torrent by using the "Create new torrent from folder..." option. I imported a folder (MyFolder) with the following structure:

MyFolder
MyFolder\file1.mp3
MyFolder\MyChildFolder\file2.mp3

After doing so, my directory structure on-disk looks like this:

MyFolder
MyFolder\file1.mp3
MyFolder\file2.mp3
MyFolder\MyChildFolder\file2.mp3

What did you expect to happen?
I don't expect my torrent client to create duplicates of my files on-disk. I would expect it to preserve directory structure. I would not expect it to modify my files at all.

Are you willing to submit a pull request to fix this bug?
Yes, but I am unlikely to be able to help.

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