Option to prevent multifile downloads from being placed in a folder with the same name as the torrent #1262

Closed
opened 2026-02-21 15:33:59 -05:00 by deekerman · 3 comments
Owner

Originally created by @nobkins on GitHub (Feb 28, 2014).

Background Info:
I am using the windows version of qTorrent.

I want to distribute files using p2p to essentially allow clients to replicate the files the user wishs to have from a server library onto their own machines.

I want the file structure to be replicated as well. The problem is that with multi-file torrents (which is what I need to use), Files are always placed into a download directory that is the same as the torrent name specified in the info dictionary. If it was possible to override this option by adding a checkbox to the torrent add dialogue with "Do not use torrent name for save directory" (or something similar) then that would achieve what I need.

This option should only be displayed for mult-file torrents (as single file torrents do not need this). The option should be enabled if the files attribute exists in the info dictionary. If it does not exist it is a single file torrent not a multi-file torrent.

If the state of the checkbox was remembered then when the next torrent was added if the user had enabled the checkbox for the previous torrent it would also be enabled for this torrent - making it more intuitive for the user.

Here is an example:

Torrent contains following info dictionary:
name: A collection of files
files: path: File one.pdf
files: path: \a folder\anotherfolder\2nd file.exe

As standard this torrent would be downloaded and saved as follows:
Download Folder\A collection of files\file one.pdf
Download Folder\A collection of files\a folder\anotherfolder\2nd file.exe

I want to be able to check a "Do not use torrent name for save directory" so that I end up with the following in my download folder:
Download Folder\file one.pdf
Download Folder\a folder\anotherfolder\2nd file.exe

Advantages:
Because files keep their initial file structure it allows users to replicate parts of an organised file library. At the moment this would have to be done by hand when adding the download or after the download is complete.

Disadvantages:
None that I can see. Users can choose to ignore the checkbox and the behaviour is unchanged.

Thanks for taking the time to read this far. So far I have not been able to find a torrent client that supports this feature. As the names provided in the info-dictionary are purely advisory (the user can choose to save files where ever they wish) this option would add a nice feature.

Jim

Originally created by @nobkins on GitHub (Feb 28, 2014). Background Info: I am using the windows version of qTorrent. I want to distribute files using p2p to essentially allow clients to replicate the files the user wishs to have from a server library onto their own machines. I want the file structure to be replicated as well. The problem is that with multi-file torrents (which is what I need to use), Files are always placed into a download directory that is the same as the torrent name specified in the info dictionary. If it was possible to override this option by adding a checkbox to the torrent add dialogue with "Do not use torrent name for save directory" (or something similar) then that would achieve what I need. This option should only be displayed for mult-file torrents (as single file torrents do not need this). The option should be enabled if the files attribute exists in the info dictionary. If it does not exist it is a single file torrent not a multi-file torrent. If the state of the checkbox was remembered then when the next torrent was added if the user had enabled the checkbox for the previous torrent it would also be enabled for this torrent - making it more intuitive for the user. Here is an example: Torrent contains following info dictionary: name: A collection of files files: path: File one.pdf files: path: \a folder\anotherfolder\2nd file.exe As standard this torrent would be downloaded and saved as follows: Download Folder\A collection of files\file one.pdf Download Folder\A collection of files\a folder\anotherfolder\2nd file.exe I want to be able to check a "Do not use torrent name for save directory" so that I end up with the following in my download folder: Download Folder\file one.pdf Download Folder\a folder\anotherfolder\2nd file.exe Advantages: Because files keep their initial file structure it allows users to replicate parts of an organised file library. At the moment this would have to be done by hand when adding the download or after the download is complete. Disadvantages: None that I can see. Users can choose to ignore the checkbox and the behaviour is unchanged. Thanks for taking the time to read this far. So far I have not been able to find a torrent client that supports this feature. As the names provided in the info-dictionary are purely advisory (the user can choose to save files where ever they wish) this option would add a nice feature. Jim
Author
Owner

@valendra commented on GitHub (Jul 1, 2014):

This option exists in µtorrent and is what I am missing the most since I started using qbit.

Pleeeeease, someone, implement a checkbox labelled "create a new folder" when downloading a torrent with multiple files.

For exemple, if I wanted to download holliday movies from my family, I could have folders on my HDD labelled like : D:\Videos\Dad\Scotland, D:\Videos\Dad\Morroco, D:\Videos\Mom\Italia, etc.
If "Dad" sends me multiple holliday movies from Scotland at once, I don't want them to go in D:\Videos\Dad\Scotland\DCIM100PANAwtfbbq but just to be put in the parent folder...

@valendra commented on GitHub (Jul 1, 2014): This option exists in µtorrent and is what I am missing the most since I started using qbit. Pleeeeease, someone, implement a checkbox labelled "create a new folder" when downloading a torrent with multiple files. For exemple, if I wanted to download holliday movies from my family, I could have folders on my HDD labelled like : D:\Videos\Dad\Scotland, D:\Videos\Dad\Morroco, D:\Videos\Mom\Italia, etc. If "Dad" sends me multiple holliday movies from Scotland at once, I don't want them to go in D:\Videos\Dad\Scotland\DCIM100PANAwtfbbq but just to be put in the parent folder...
Author
Owner

@chrishirst commented on GitHub (Jul 2, 2014):

"D:\Videos\Dad\Scotland\DCIM100PANAwtfbbq" is a folder name that has been created by the camera so is part of the payload.

@chrishirst commented on GitHub (Jul 2, 2014): "D:\Videos\Dad\Scotland\DCIM100PANAwtfbbq" is a folder name that has been created by the camera so is part of the payload.
Author
Owner

@sledgehammer999 commented on GitHub (Jul 2, 2014):

This will be probably get done for 3.2.0 #588

@sledgehammer999 commented on GitHub (Jul 2, 2014): This will be probably get done for 3.2.0 #588
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#1262
No description provided.