Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#5048 closed Enhancement (invalid)

Add option to set a per-torrent target download directory

Reported by: lkollar Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.61
Severity: Normal Keywords:
Cc:

Description

Right now the target directory can only be set for a session and not for an individual download.

When using transmission with automated scripts this would be a very useful feature as individual torrent downloads could be sorted on completion into the right directory without any post-processing scripts.

I am attaching my initial implementation. This works in a similar way as Deluge does it - the user can set the 'move-done' path on individual torrents and they get moved there once the download is complete.

The current implementation is only exposed in transmission-remote via the --move-done <path> command line argument.

Attachments (1)

move-done.diff (4.2 KB) - added by lkollar 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by lkollar

comment:1 Changed 9 years ago by rb07

  • Resolution set to invalid
  • Status changed from new to closed

Right now the target directory can only be set for a session and not for an individual download.

Not true.

From transmission-remote's help:

 -w   --download-dir           <path>      When adding a new torrent, set its
                                           download folder. Otherwise, set the
                                           default download folder

The same exists in the GUI apps, and in a modification to the Web client.

comment:2 Changed 9 years ago by lkollar

I have to admit that I didn't know about this feature, but it does not completely solve the issue. The behavior I want to achieve here would be using the incomplete directory until the download finishes and then move the data it to the target directory. I assume the -w flag will not take the incomplete-dir into consideration when downloading.

As I see this could be implemented with a simple flag to tell transmission to use the incomplete dir for downloading even when -w is specified and only move the data there once seeding starts. Another possible implementation would be to automatically use the incomplete dir if it is set and move the download when it's finished.

If this enhancement makes any sense, I am willing to open a new ticket and look into the implementation.

comment:3 Changed 8 years ago by telepath

Is there another ticket for this? I couldn't find one. Not being able to set different download dirs without invalidating the incomplete-dir setting is still an issue.

comment:4 Changed 8 years ago by rb07

telepath:

Please use the forum, don't add to the misinformation on this issue.

Your statement, and the one before that, are false. Setting the download directory for a torrent does nothing to the incomplete directory, the later is still used during the download, then the file(s) are moved.

There is a (mis)feature when you change location during download (which is different that the option shown above), the files are moved immediately from the incomplete directory (and no setting is "invalidated", no setting is touched).

Note: See TracTickets for help on using tickets.