jasonmskidmore Posted November 6, 2013 Report Share Posted November 6, 2013 I'm trying to just get btsync to start using a basic config file I've created and it doesn't seem to want to launch. Command I'm running: btsync.exe /config btsync.conf No errors, I just get nothing and the process doesn't run. Couple of questions: Storage_Path Variable in config file: for windows do we enter full paths like c:\sync\? At the Command Line does the path need to be entered differently? Is there any log-type output which can be used to troubleshoot? Thanks Quote Link to comment Share on other sites More sharing options...
jasonmskidmore Posted November 6, 2013 Author Report Share Posted November 6, 2013 Got it working... changed the Storage_path variable to "./" and I'm able to get it to launch. Still, additional details regarding command line options and path names in windows environments would be helpful. Quote Link to comment Share on other sites More sharing options...
bormotov Posted November 12, 2013 Report Share Posted November 12, 2013 to add api for installed BTSync client { "storage_path": "/Users/<you_user_profile>/AppData/Roaming/BitTorrent Sync/",// default path for BTSync client files "use_gui": true, "webui" : .... } Quote Link to comment Share on other sites More sharing options...
Davidkim Posted November 13, 2013 Report Share Posted November 13, 2013 to add api for installed BTSync client { "storage_path": "/Users/<you_user_profile>/AppData/Roaming/BitTorrent Sync/",// default path for BTSync client files "use_gui": true, "webui" : .... } i'm BTSync.exe using Windows 7 save BTSync.conf saving path toC:\Program Files (x86)\BitTorrent Sync Folder... Writent BTSync.conf ....is--------------------------------------{ // path to folder where Sync will store its internal data, // folder must exist on disk //"storage_path" : "/.SyncAPI", "storage_path": "/Users/Hcom/AppData/Roaming/BitTorrent Sync/.SyncAPI", // run Sync in GUI-less mode "use_gui" : True, "webui" : { // IP address and port to access HTTP API "listen" : "127.0.0.1:8888", // login and password for HTTP basic authentication // authentication is optional, but it's recommended to use some // secret values unique for each Sync installation "login" : "api", "password" : "secret", // replace xxx with API key received from BitTorrent "api_key" : "i have api key.........." }}------------------------------------------------------------ after running Dos Command Prompt typing...toC:\Program Files (x86)\BitTorrent Sync>BTSync.exe BTSync.conf Enter runnig BTSync.exe not access http://127.0.0.1:8888 why not access ? the url???? Quote Link to comment Share on other sites More sharing options...
avladev Posted November 13, 2013 Report Share Posted November 13, 2013 Change the command to: BTSync.exe /config BTSync.conf Quote Link to comment Share on other sites More sharing options...
Disappointed Cat Posted November 14, 2013 Report Share Posted November 14, 2013 Better yet, rename the file to sync.conf and put it in C:\Users\{YourUser}\AppData\Roaming\BitTorrent Sync.This way it will be loaded even if the app is started automatically. Quote Link to comment Share on other sites More sharing options...
Davidkim Posted November 14, 2013 Report Share Posted November 14, 2013 Better yet, rename the file to sync.conf and put it in C:\Users\{YourUser}\AppData\Roaming\BitTorrent Sync.This way it will be loaded even if the app is started automatically. BTSync.exe Installed Folder is [C:\Program Files (x86)\BitTorrent Sync\BTSync.exe] sync.conf to save [C:\Users\Administrator\AppData\Roaming\BitTorrent Sync\sync.conf] Run [C:\Program Files (x86)\BitTorrent Sync\BTSync.exe] not run BTSync.exe sync.conf writen.....to..-------------------------------------------{ // path to folder where Sync will store its internal data, // folder must exist on disk "storage_path" : "/Users/Administrator/AppData/Roaming/BitTorrent Sync/.SyncAPI", // run Sync in GUI-less mode "use_gui" : false, "webui" : { // IP address and port to access HTTP API "listen" : "127.0.0.1:8888", // login and password for HTTP basic authentication // authentication is optional, but it's recommended to use some // secret values unique for each Sync installation "login" : "api", "password" : "secret", // replace xxx with API key received from BitTorrent "api_key" : "i have api key no..." }}------------------------------------------- it's run BTSync.exe /config sync.conf ....not run why don't run BTSync.exe ? it's Last version 1.2.72.0 Quote Link to comment Share on other sites More sharing options...
ColombianBootloader Posted March 18, 2014 Report Share Posted March 18, 2014 Hi there guys I have been trying to make my API work, and I have followed what you have said here. However, it is not working for me, soI would like to ask you what I am doing wrong!!! so my "storage path" is "/Users/<My name>/AppData/Roaming/BitTorrent Sync/BTSync", and my sync.conf is in the "C:\Users\<My name>\AppData\Roaming\BitTorrent Sync" Directory BTSync.exe is in "C:\Program Files (x86)\BitTorrent Sync" Here is my sync.conf file: { "storage_path": "/Users/<My name>/AppData/Roaming/BitTorrent Sync/BTSync", "use_gui": false, "webui": { "listen": "127.0.0.1:8888", "login": "A_Login_XXX", "password": "A_Password_XXX", "api_key": "My_Key"} I have tried everything, here in this post with no success... Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 3, 2014 Report Share Posted April 3, 2014 ColombianBootloader, Try putting absolute path in "storage_path", when making so - escape the "\" chars with "\\", so in your case that would be something like "C:\\Users\\<username>\\Appdata\\Roaming..." Let me know if it helps. Quote Link to comment Share on other sites More sharing options...
ColombianBootloader Posted April 6, 2014 Report Share Posted April 6, 2014 ColombianBootloader, Try putting absolute path in "storage_path", when making so - escape the "\" chars with "\\", so in your case that would be something like "C:\\Users\\<username>\\Appdata\\Roaming..." Let me know if it helps.Hey mate, I try your suggestion but no success at all. I really would like to know what I am doing wrong....any more ideas or suggestions? As soon as I do BTsync.exe /config sync.conf it does not generate any files inside the storage path folder 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.