[Libtorrent-devel] "on_finished" order of execution

Suresh Kumar sureshkumar.pp at gmail.com
Wed Oct 7 09:31:20 UTC 2009


At Tue, 6 Oct 2009 14:09:33 +0900,
Jari Sundell wrote:
> 
> The base_filename/path are not updated until the torrent has been
> 'opened' again. You'll need to create the link after the on_finished

How do I enforce such a thing? 
(I experimented with having different order of declaration which
didn't the issue) 

> event has been triggered, or another create_link keyword needs to be
> added that uses the directory rather than the base path.

Do you mean something like this?

,----
| on_finished = zlink1,"execute=ln,-s,/dir1/$d.get_name=,/download_finished/"
`----


More information about the Libtorrent-devel mailing list