[libtorrent] The "file_progress" can not be used when the task starting with "paused" property ?
Brought to you by:
arvidn
From: 张鹏 <hr...@gm...> - 2009-06-06 07:00:17
|
Dear List: I found, when I used the version 0.13, I can do like this: firstly, I start a torrent in pause state, then I check the status, until it has checked the file (after torrent_status::checking_files status), I can use the "file_progress" to get every file's progress. When I found some file's progress is not 100%, I record them. Then, I can use "prioritize_files" to download all the files in the record (all not 100%), and also to save them in a temp path. When they all downloaded done, I cut them to replace the old files. ---- why I do like this, because the old files may be used during the files updating. But I found, I can't do this in 0.14. Because Once I start a torrent in pause state, It will not do anything, include checking file. and I can't get file_progress. How can i fix this problem? Thanks! Thanks for this greate Library! |