[Libtorrent-devel] Setting up multiple/conditional
balaji.dutt at gmail.com
Wed Feb 11 12:34:48 UTC 2009
Okay so this took a little bit of time to figure out and I apologize for
being so slow.
I had initially setup the branch condition like so:
Since a branch command executes any command you send it, it was actually
"setting" the base_directory path to a new folder before the move happened!
So when I next tried to execute a move command using this:
This would fail with all sorts of weird errors. Finally figured it out only
when I looked at the Info->Directory data after a failed move.
The workaround was pretty simple, I just used the custom2 variable as a
place holder for the path. So:
And voila! no more errors and the torrent continues to seed after
downloading. Yay! :)
On Tue, Feb 10, 2009 at 10:18 PM, orlando agostinho <
orlando.agostinho at gmail.com> wrote:
> Please, check this:
> maybe help you!
> Orlando Agostinho
> On Tue, Feb 10, 2009 at 12:40 PM, Balaji Dutt <balaji.dutt at gmail.com>wrote:
>> On Tue, Feb 10, 2009 at 8:36 PM, orlando agostinho <
>> orlando.agostinho at gmail.com> wrote:
>>> Try this
>>> #log File
>>> execute_log = /home/log/.rtorrent.log
>>> system.method.set_key =
>>> For me Works!
>>> Orlando Agostinho
>> Hi Orlando,
>> Thanks for the tip. Problem is my destination directory isn't fixed - for
>> watched torrents, the destination is folder "A" but for torrents I upload
>> the destination is folder "B".
>> I'm setting the set_directory using a branch command so I'm not sure if
>> the problem is with the branch command or the syntax of the move command :(
>> Libtorrent-devel mailing list
>> Libtorrent-devel at rakshasa.no
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libtorrent-devel