Sync API wishlist

Recommended Posts

  • 5 weeks later...
  • Replies 81
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

As per   I'd like a way of registering events, so when an event is triggered, like 'Files synced', BT Sync will then trigger my regist

The ability to set capacity caps for a given folder via the API would, I'm sure, a very highly sought after feature. Use Case: (hypothetical) I have a dedicated server which I use for backup storage -

Get Secret by Folder/Use folder as an argument.   Currently you can use a Secret as the argument of most methods, but if you want to find the secret of a specific folder, or want to get the prefs of a

I'm trying to write a wrapper around BTSync using the API so I can handle all the shares programatically.


I'd like to see the config being passed as value to the app in an argument rather than only as a feel on HDD. This way I can keep my api key hidden away when I pass the parameters to the app at startup.


That's a great suggestion, and should be easy to implement! Not only the api key, but also the webui address and authentication data, are regarded as sensitive in my opinion.


Of course, this approach wouldn't prevent someone with really advanced knowledges from getting that info, but it should do fine for average PC users as the ones I'm targetting.



I'd also like to bring to light the following request from the community (turns out it's mine as well), hoping it gets more eyes onto:


Run BTSync as a Windows service (

Link to post
Share on other sites
  • 1 month later...

synced is always 0.. at least on my version


but I would like to have a timestamp whith a timestamp that the peers (each of them) checked if  a sync was needed.

something like 




"connection": "direct", // direct or relay
"name": "GT-I9500",
"lasFullSync": "2012-09-27T22:00:00", // timestamp when last full-sync completed

"lastIncommingConnetion":"2012-09-27T22:00:00" // timestamp when last connection or check for sync was made




In my case I use Bittorrent to make backups data of some clients of ours to a server in our data-center. Our clients have access to a self-service portal that we offer. I would like  to show them there, the state of the backups, and the last time the peers (in my case our servers) checked for changes... 

I'm now parsing the clients Bitttorrent logs (through a windows service they have anyway installed on their machine), and send the results to a Rest Service we have made for it.
This actually works (I parse for things like  "Incoming connection from", and some other strings) and check the datetime it was last written.. and if it's older that an hour I raise an alarm (just an Icon changes!).


The problem with this solution is obvious :

  • Logging has to be enabled...
  • After a while this files get huge... I got a files up to 20 GB large!.
  • If you guys decide to write something else in the log, my solution stops working.(this has happened in the past)

So.. that is my wish!


Link to post
Share on other sites
  • 3 months later...

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.

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.