Btsync-Core Command-Line To Check Whether The Folder Has Been 100% Downloaded


samxiao

Recommended Posts

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"

 

Link to comment
Share on other sites

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 PEERS

Returns 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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.