[Libtorrent-devel] rTorrent don't delete the data files when
removing incomplete downloads
krzysztof.taraszka at gnuhosting.net
Sun Oct 19 13:51:28 UTC 2008
Josef Drexler pisze:
> On Oct 19, 2008, at 11:34 AM, Taraszka Krzysztof wrote:
>> rTorrent don't delete the data files when removing incomplete
>> downloads from ncurses ui.
> I don't think that's quite right. The way you set it up, it will
> delete data files when you remove the incomplete download with the
> ncurses ui, but NOT when you've added the download from it.
>> schedule =
>> on_finished = set_done_var,d.set_custom2=
>> on_erase =
>> Yes. it's works but only for torrents which was added to watch_stuff
>> directory. When i load torrent from ui, it don't remove incompete
>> data. The same problem exist when I remove torrents from nTorrent
>> client (via xmlrpc)
> That's because you've set it up that way. When added from the watch
> directory, the downloads "custom2" is set. It's cleared when the
> download finishes. When you remove the download and it's still set,
> the data files will be deleted.
> But when you add it from the UI, custom2 won't be set. Unless you set
> it manually afterwards with Ctrl-X d.set_custom2=1 then it should work
> as you want.
Hmm. could it work with session directory to ? I mean, when rtorrent
deleting files from session directory (~/rtorrent/session), he could
deleting incomplete downloads from ~/rtorrent/downloading too.
ul. Podlas 36d/9
41-703 Ruda Slaska
tel: +48 0 605 745 084
More information about the Libtorrent-devel