I'm trying to develop my own torrent app using Python. After some research I decided to go with libtorrent, and found this interesting answer:
I've found also another similar question with one answer:
but there I couldn't understand how to do it, I read the full documentation they link in the question and didn't get any idea about how to face this.
I've been looking around libtorrent trying to understand how could I manage the download...
- How could I to start downloading from the beginning to the end ?
My goal is to start the download the torrent "ordered", meaning I don't want to download random parts of the torrent, the ones availables at the moment, I would like to download it from the beginning to the end.
If anybody has try this and could point me to the right libtorrent documentation would be awesome !!!
- How could I start to download the file ordered ? -->
set_sequential_download()
But how could I wait for the pieces ? How do I configure libtorrent to wait for the first 10 pieces until begin with the next 10 ?