Btsync Api


kraukscis

Recommended Posts

Hello !

Can't make new directory from btsync API

mkdir /fullpath/demo3

chmod 777 /fullpath/demo3

./btsync --generate-secret 

AIIUXI2R2AIVAAAAAA7IAVVVVYZRBELBW

http://192.x.x.x:9990/api?method=add_folder&dir="/demo3"http://192.x.x.x:9990/api?method=add_folder&dir="/fullpath/demo3"http://192.x.x.x:9990/api?method=add_folder&dir=demo3&secret=AIIUXI2R2AIVAAAAAA7IAVVVVYZRBELBW

Every time i get this  error message 

{ "error": 100, "message": "Can't open the destination folder." }

Edited by kraukscis
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.