Flood: [Request] Rename files/folders within a torrent

Created on 7 May 2017  路  6Comments  路  Source: Flood-UI/flood

Hello,

I'm new to rtorrent and I'm unsure if this is possible through Flood but a way to rename the files and/or folders within the torrent is something I'd really see useful (it's what I most used in my previous torrent clients).

Thanks!

help wanted

Most helpful comment

I want to say this is the sole functionality that puts me off rTorrent. Many other popular torrent clients (uTorrent, Transmission, Deluge) allow such renaming files/directories without changing torrent hash. Deluge even allows changing directory structure such as adding a parent folder or remove a folder layer.

All 6 comments

This is a cool idea. Are we sure this is possible with rTorrent? If somebody could research that, I would be grateful!

The most I could find is this reddit post about editing the containing directory which would be enough for now at least.

Could you have a look please?

@jfurrow ruTorrent does this via the datadir plugin: https://github.com/Novik/ruTorrent/tree/master/plugins/datadir although this plugin is so closely linked the UI functions are in ruTorrent itself and all enabling/disabling them does in ruTorrent is remove access to that menu feature.

I guess that's why when doing operations with files in ruTorrent it's not enough for rtorrent's user to have rw access - the path to the files has to be listed in open_basedir in php.ini, or I think another way around it is that the webserver user has to be given rw in the location. Either way it's a function of ruTorrent and not rtorrent.

This has been asked for in rtorrent multiple times though, and it's never appeared: #167, #245, #592.

I want to say this is the sole functionality that puts me off rTorrent. Many other popular torrent clients (uTorrent, Transmission, Deluge) allow such renaming files/directories without changing torrent hash. Deluge even allows changing directory structure such as adding a parent folder or remove a folder layer.

I would very much be interested by the ability to rename files/point to different location. It would make cross-seeding a lot easier between different trackers when the rules require having specific formats for file names.

As for changing the folder name, this is easily done in rutorrent already: say your folder has a structure like this:

Foldername/file1.xxx
My Torrent/file2.xxx
...
and it is located in /downloads.

When you add the torrent, check the box "do not add torrent name to directory path", and use /downloads/Foldername as the download folder insteads of just /downloads.

If it's at _all possible_ to dial into arbitrary methods of libtorrent's torrent_handle API directly, it looks like it may be dead simple to bypass rtorrent and implement it without waiting for upstream.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rarescosma picture rarescosma  路  3Comments

angristan picture angristan  路  4Comments

runaroundhome picture runaroundhome  路  6Comments

geopsllc picture geopsllc  路  5Comments

abduct picture abduct  路  3Comments