Syveren

New Members
  • Content Count

    4
  • Joined

  • Last visited

About Syveren

  • Rank
    New User
  1. Hello! How to know folder download progress with btsync api?
  2. @RomanZ Thanks for reply! I tested get_folder_peers function and noticed that download value is same for every peer from result list. Is it amount of data to be download and always same for all peers? If yes, I can use download value from first peer. But why,in this case, download value not in get_folder api function, for example?). Or I am mistaken and not guarantee that values will be the same. Please, explain purpose of download value from get_folder_peers in this case (if peers have different download values)? Thanks!
  3. Hello! Is there api for getting download rate for concrete folder for btsync 1.4 ? I tryed to get it by api method get_files: (have_pieces - have_pieces_old) / time_elapsed * (total_size/total_pieces). But result differ from rate in btsync gui. (I use pieces,instead of size, because size return same value each time) Any clues?) Thanks!
  4. Syveren

    Piece Size

    Hello everybody! There are method in api http://[address]:[port]/api?method=get_files&secret=(secret)[&path=(path)] return smth like this: { "have_pieces": 1, "name": "index.html", "size": 2726, "state": "created", "total_pieces": 1, "type": "file", "download": 1 } How much bytes in 1 piece? Is piece's size constant value?