qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.44k stars 4k forks source link

Set location to individual files #4071

Open alinq opened 9 years ago

alinq commented 9 years ago

I often need only some files from a directory. I have to move the files to the desired location, and of course then I delete the torrent. To keep the sharing going this problem will be solved if "Set location" is on the individual files.

ngosang commented 9 years ago

Put [Wishlist] at the start of the title.

alinq commented 8 years ago

If this ever gets into the final product, also as important will be to be able to rename the file whatever you want, of course within qBittorrent so it knows what the file to keep sharing.

chrishirst commented 8 years ago

While, on the face of it this may seem like a useful function, it does have a major flaw, as it precludes the altered payload from ever being re-loaded into any bittorrent client in the future using the original metadata.

MasterHoover commented 8 years ago

While, on the face of it this may seem like a useful function, it does have a major flaw, as it precludes the altered payload from ever being re-loaded into any bittorrent client in the future using the original metadata.

I'm no tech guy , but this feature works flawlessly in uTorrent/bittorrent. If you worry about the file integrity after relocating a file with a totally random one, force a recheck anytime a file in a torrent has been relocated, overwriting the wrong file to the right one.

deant commented 8 years ago

Lack of this feature is a total deal-breaker for anyone interested in maintaining any reasonably-sized library of seeded files. You NEED to be able to rename and relocate individual files!

I plan to move from uTorrent 2.2.1 to qBittorrent only once this feature is implemented, and I'm sure there are many other people who feel the same.

Please give this feature top priority!!!

typhoon71 commented 8 years ago

I'd like this to be added too. Right now you cann't relocate part of the content of a torrent, only the whole thing. I think the ability to relocate even a single file in a torrent, expecially with the possibility of browsing the disc(s) with an explorer like dialog is powerful, and it's the only thing I really miss. Right now you can reanme the torrent, but it's not that. Please, add this. Thanks anyway.

deant commented 6 years ago

Sorry slrslr, it isn't similar at all. Read my comment in the other thread.

deant commented 6 years ago

In uTorrent, you can relocate and/or rename any file: Right-click and choose "relocate", and it pops up a standard explorer save-as dialog.

If you select more than one file and choose "relocate", then the filenames are preserved, and the save-as dialog only lets you pick the directory to place them in.

This is at minimum what qBittorrent needs to be able to do, and it's probably the "obvious" way to implement this feature.

However, when relocating lots of files to lots of different folders, opening and closing save-as dialogs can become very time-consuming and tedious. So, in addition to the option of displaying a save-as dialog for the single- and multiple-file cases, I'd like qBittorrent to have the ability to edit filename and path in-place - i.e. A list of path & filenames is displayed, and you can edit it as if it were a text file (with cut/copy/paste, move cursor up/down/left/right etc). Search and replace would be useful there too.

qBitorrent needs to check that any renamed/relocated file does not clash with an existing file. If the new path & name does NOT clash with an existing file, then the file should be moved. (If it's moving to a different volume, the torrent will need to be paused until the move has completed).

However, if there is an already-existing file at the supplied location, then:

(a) qBitorrent needs to check that it's the correct length, and prevent the name change if not (either by blocking it, or by adding " (2)", " (3)", etc to the end of the new filename, to prevent any filename clash. (Possibly have a setting choosing which of these behaviours to use?)

(b) If it's the correct length to be the torrent file, leave the previous file (if any) as-is, and but switch qBittorrent to refer to the new file instead. (Optionally: also run a hashcheck on it, to determine if it matches, and/or how many blocks in the file are complete. Auto-hashcheck should also be a settings option).

Finally, a really useful feature would be if you could highlight some files within a torrent, select a folder, and have qBittorrent scan that folder (and optionally subfolders also), to detect (based on file length and block-by-block hashing, i.e. not by filename) which (if any) of the torrent files already exist in that folder (looking for 100% completely downloaded files); and then set the torrent path & filenames to match for those cases.

KaXaSA commented 4 years ago

Yes! I was looking for this today, I was about to create a new issue when I found this one :)

I have some torrents that I wanted to keep seeding but I also wanted to organize the folders/subfolders in a better way. Without the 'Set location' I have to keep the seeding torrents files in separated 'seeding folder' and then make a copy of the files to the proper/organized folder. :(

HatTrkPatrk commented 4 years ago

How in the world this has been an open issue/request for 5 years is beyond me. Such a basic, necessary function.

Gh3ttoKinG commented 3 years ago

I was about to finally make the move from µTorrent to qBitTorrent but I just realised this feature doesn't exist, so I too would like to have this feature! I have several torrents that belong together and t he problem is that in those torrents the files are in an unnecessary subfolder. So I'd like to have those files all in one single folder without those subfolders!

OldClassicGamer commented 3 years ago

Six years later and this is still not possible. Why? I like qBittorrent the best when it comes to overall but not having this ability REALLY annoys me.

TGeka commented 3 years ago

this feature is really needed

github-account1111 commented 2 years ago

Duplicate of #439?

deant commented 2 years ago

Duplicate of #439?

It is as far as the original posts go, but there is relevant discussion in the comments that isn't duplicated between the two issues - see e.g. my 2nd comment dated 23 December 2017 in this issue.

github-account1111 commented 2 years ago

Duplicate of #439?

It is as far as the original posts go, but there is relevant discussion in the comments that isn't duplicated between the two issues - see e.g. my 2nd comment dated 23 December 2017 in this issue.

Closing an issue doesn't remove anything. Your comment will still be there. It's bad to have multiple open issues for the same bug, especially with 2.7k other open issues.

chelc-fox commented 2 years ago

Just adding my voice to this; this feature is still sorely needed, as a lot of us out there use Plex, which requires very specific folder structures to read certain downloads properly, and while this feature remains unpresent, being a responsible seeder continues to be a headache ^^;

KaXaSA commented 2 years ago

So I found a temporary solution (Windows), when the download is completed you can create a Hard Link (Symbolic Link) copy.

It's basically a 'copy' of the file that doesn't take disk space, the two files will be 'linked', but you can rename/delete either of them with no issues. So you can, create a hard link copy, move it to some other folder (in the same disk), rename it and if necessary, when you're done seeding, you can delete the original file.

To make it easier to manually create the hard links, you can add some options to context menu (right click): https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html (not sure if there is an easier/native way to create hard links)

But I think a better solution would be to run a script, every time a download is finished, to automatically create the hard link, you can create hard links using PowerShell: New-Item -Path "D:\new\path\copy.mkv" -ItemType HardLink -Value "D:\path\to\original\file.mkv" -Force So I assume it wouldn't be hard to create a script that use qBittorrent's 'Run external program on torrent completion' parameters (options > downloads) to get the file path and then create the hard link in some other folder.

hideki2k02 commented 11 months ago

Damn, after all this time it's still open :( wish someone put a bounty on this or something.

Edit: For reference (maybe someone want more examples on how to implement it), these are the only Clients that I know that allow this: uTorrent and Tixati.