Incomplete files

somus1735

Member
May 25, 2018
833
0
16
I was wondering NoviK or wonslung, whether you know if rtorrent appends tags onto incomplete files in rtorrent and what tags they are. For example utorrent append "!.ut " on them. I am asking as I amtrying to write a an uploading plugin. smiley.gif
 

dsouvik215

Member
May 25, 2018
896
0
16
No. But you may retrieve this information (which files are complete, which - incomplete) directly from rtorrent.
 

jith45

Member
May 25, 2018
960
0
16
cheesy.gif
Can you give me any hints as to collecting that information so I can incorperate it into a php script?
 

dsouvik215

Member
May 25, 2018
896
0
16
Use f.multicall with parameters f.get_priority, f.get_completed_chunks, f.get_size_chunks (and torrents hash, of course).
Check file priority - if it 0, then this file is skipped. Else if get_completed_chunks==get_size_chunks then file completed. Else - incompleted.