samxiao Posted July 18, 2014 Report Share Posted July 18, 2014 hello, I'm using btsync to manage a pool of distributed computing node and for deployment on artifacts. I know I can triggered `btsync-core` to start the syncing session, but is there a way to know whether my folder has been 100% downloaded/sync'd? I was looking for something like this: $ btsync-core --nodaemon --check "AW46ABCDGEWCQBVH6Z7APTHW6YVUU34VS" Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted July 19, 2014 Report Share Posted July 19, 2014 is there a way to know whether my folder has been 100% downloaded/sync'd?You'd need to use the API Quote Link to comment Share on other sites More sharing options...
samxiao Posted July 19, 2014 Author Report Share Posted July 19, 2014 Thanks, just requested the API key. But I didn't see an obvious API call to get that information, or may I missing anything? The closest I found is this: GET FOLDER PEERSReturns list of peers connected to the specified folder. [{"id": "ARRdk5XANMb7RmQqEDfEZE-k5aI=","connection": "direct", // direct or relay"name": "GT-I9500","synced": 0, // timestamp when last sync completed"download": 0,"upload": 22455367417}]http://[address]:[port]/api?method=get_folder_peers&secret=(secret)By the way, this is needed to make API call to the each btsync client's web ui right? Quote Link to comment Share on other sites More sharing options...
samxiao Posted July 23, 2014 Author Report Share Posted July 23, 2014 pump+1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.