Search the Community

Showing results for tags 'php'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Resilio Sync
    • Sync General Discussion
    • Sync Troubleshooting
    • Sync for NAS (Network Attached Storage)
    • Sync Stories
    • Developers
    • Feature Requests

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. So I figured before I start my ventures in writing some scripts for Sync, I'd create a nice and easy way to access the API from PHP. It has all the current API functions included. It requires a Sync install with the API enabled. Link : iGARET/BTSync-PHP Docs: http://igaret.github.io/BTSync-PHP/classes/BTSync.html Let me know if you have any questions/suggestions!
  2. I was just wondering if anyone else was seeing this behavior. I have selective sync enabled on the sync folder. However, when I try calling the api to disable sync on a directory, the file info returned doesn't indicate download is equal to 0 and the directory is still synced. Has anyone encountered this and found a solution?
  3. Hi, I would like to use the API with php. My installation is on windows and I cant make it work! As far as now : I got a "sync.conf" file but the command don't run the programme silently : "C:\Program Files (x86)\BitTorrent Sync>BTSync.exe /config sync.conf" i'm trying to check if it work on chrome, looking at localhost:8888/gui 127.0.0.1:8888/gui And with a php wrapping of the API with wamp : "https://github.com/iGARET/BTSync-PHP" my sync.conf : { "storage_path" : "./", "use_gui" : true, "webui" : { "listen" : "127.0.0.1:8888", //"login" : "<someusername>", //"password" : "<somepassword>", "api_key" : "API-KEY" }} index.php : <?php include("btsync.php"); $client = new BTSync(); $p = $client->getFolders(); var_dump($client); var_dump($p);?>