Jump to content

getfiles Call - returning unexpected values


Swkg

Recommended Posts

Hello.

I am currently trying to make a .Net wrapper of the µtorrent API in C# for an application i am developing.
When i call :

http://[iP]:[PORT]/gui/?action=getfiles&hash=[TORRENT HASH]

I receive everything alright.
But there's more values in the Files-part than stated in the API documentation

This is part of the response:

[["ubuntu-15.10-desktop-amd64.iso", 1178386432, 208142336, 2, 0, 2248, false, -1, -1, -1, -1,  0 ]]

Can anyone clarify the values: 5, 7, 8, 9, 10, 11, 12
Based on the documentation:
Values:
#1: Name
#2: Size
#3: Downloaded
#4: Priority

I've decoded only one of the unknown values, which turned out to be Number of Pieces.
#6: Number of Pieces

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...