sruon Posted February 7, 2014 Report Share Posted February 7, 2014 On Mac OS X 10.9.1, I am trying to define a shared folder in the config.json{ "use_gui" : false, "webui" : { "listen" : "127.0.0.1:8888", "login" : "admin", "password" : "mysuperpassword", "api_key" : "mysuperapikey" }, "shared_folders" : [ { "dir" : "/btsync", "secret" : "mysecret" } ]}However when I query the API to get the folders, the answer is empty curl -u admin:mysuperpassword 'http://localhost:8888/api?method=get_folders'[ ] The objective is to deploy this application on my hundred of OSX clients to synchronize relatively large content easily when I need to. (Virtual machines etc).Alternatively I could query the API directly on clients to register the share in a postflight script but I'd rather get it to work this way. Anything I'm missing? 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.