• Content Count

  • Joined

  • Last visited

Everything posted by sup3rior

  1. Hi Helen, If I understand you correctly, issuing a get_secrets call without specifying a secret will cause the software to generate a set of keys? So I could essentially start by running a get_secrets call, and the parse the keys given onto a add_folder command? Best regards, Anders
  2. Hi Helen, My call looks exactly like this (have only changed servername, port and data path for public posting):\\folderpath\\data&force=1It doesn't matter whether the folder pre-exists on disk or not, it still fails. If I input a key to an existing folder (one that is created on another machine) and append that key to the command with &secret= it creates the folder on that machine, again without regard to whether the folder pre-exists on disk (if not, it is created when I run the command) EDIT: saw I left out the error message in this post. It is: { "error": 205, "message": "SE_SM_NO_IDENTITY" } Best regards, Anders
  3. For those not well versed in the hex to decimal conversion, for 1.4.111 the value should read 0104006f
  4. Hi Helen, Thank you for your answer. Unfortunately, it didn't resolve the issue. Testing a bit reveals that the command works if I enter a key that is already in use. Best regards, Anders
  5. I haven't looked into that, since the filesystem isn't something I work with on the Windows phones, sorry...
  6. You can add 1.4 folders to that software as well, I've done that on my phone...
  7. Hi, I think we're talking about different things here I've enabled the API using the config file, as shown in the very first post of this thread. I can issue different get commands (like get_folder) succesfully, so that shouldn't be an issue. The problem is issuing an add_folder command that fails. Regards, Anders
  8. Hi, As I interpret the add_folder method from the api documentation, this isn't needed, but from your question it would seem that it is? The add_folder documentation states: http://[address]:[port]/api?method=add_folder&dir=(folderPath)[&secret=(secret)&selective_sync=1]I dont see where to put in the API key? Best regards, Anders
  9. The documentation states that "Sync API does not support 2.0 folders and one can only operate with classic 1.4 key-based folders" Is this feature planned? Best regards, Anders
  10. As for my original question, specifying the function I wanted to call solved it. I however, have a different issue now... When calling the add_folder method, I get an error stating: { "error": 205, "message": "SE_SM_NO_IDENTITY" } - power-googling hasn't helped me in identifying the cause of this... The http call I make look like this:\folderpath\data&force=1Should state that I use the 2.0 client... Best regards, Anders
  11. Great, thanks... Are all these options documented somewhere? Best regards, Anders
  12. Hi, I'll do that. Another question that I can't seem to find an answer to, is if it's possible to set the listening port for syncing folders (not the WebUI) in the config file or do I have to do this using the Set Preferences method? Best regards, Anders
  13. Hi, Trying to set up the webui in btsync for testing, and have created the config file (shown below). Whenever I try to open the webui, I get an "invalid request". Have seen on other threads to clear my browser cache (including cookies) as they might interfer, but no luck there. { // path to folder where Sync will store its internal data, // folder must exist on disk "storage_path" : "c:/Users/", // run Sync in GUI-less mode "use_gui" : false, "webui" : { // IP address and port to access HTTP API "listen" : "", // 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" : "removed for public posting" }}Any suggestions would be very much appreciated. Regards, Anders
  14. I gave it a try with re-connecting the folder, didn't fix the issue... So I'm gonna drop some logs from the clients in question...
  15. I'm seeing some "odd" behavior, and was hoping to get some input. First one is that I have a couple of clients running 24/7 to facilitate constant sync, but these clients state they need to update files worth the entire size of the folder (see pics below) but when looking on another client (not themselves) they are listed as updated. Looking in the folder on of those clients show they seem to have all files there. Client 1: Client 2: Client 3: The other part is the naming. As you can see on client 3, both client 1 and 2 are shown by their names. But on either client 1 or 2 the counterpart is shown by its private IP address. While they do have the same private IP address, they are not sitting on the same LAN (they are in two geographically separate locations). Any ideas? Regards, Anders
  16. ---------------------------------------------------- Ok, this is VERY strange... Logged on the machine and wanted to test some things with the SYNCID files, but as soon as I browsed into the .SYNC folder it started working... The errors in the GUI went away. it turned green, then stated "Out of Sync" and started syncing...
  17. Hi, I'm seeing a problem with the Sync application which doesn't sync. When opening the GUI it states "Don't have permission to write to selected folder". Closing the application from taskbar and opening does not fix it, nor does restarting the machine. Problem came up after upgradering the machine it ran on (it's a virtual machine) with more CPU and memory. Operating system is Windows 2012 R2. Manually navigating in Windows Explorer to the folder where the software stores its files, I can without a problem both read, write and modify them. Have seen a couple of threads on the forum about this topic, but none that seemed to correspond to this issue nor did they offer any viable solution. Any ideas? Regards, Anders -------------------------------------------------------------------------------------------------- Should add that removing/re-adding a folder does not fix the issue... Have enabled debug logging and looked through the logs, nothing standing out (however I'm not well-versed in interpreting that log file, so might have overlooked it)...
  18. So, the title states I'm looking for some info on the "Use relay server..." option... In a made-up scenario, I have 2 machines syncing with eachother. Machine A is sitting behind a restrictive firewall and has the setting on, machine B has its listening port opened in the firewall and the setting off. Will they be able to sync? Meaning machine B will connect to the relay, which will then connect to machine A or will machine B (hence the setting being off) refuse to talk to the relay? Regards, Anders
  19. As I read this, I should create a key and give then create a value? But what kind of value is needed (String, DWORD etc)?
  20. So if I disable Relay, Tracker, DHT as well as LAN and then manually define the hosts I want it to synchronize with I should be able to achieve it. I will do some testing to see how it works, thanks...
  21. When you say link manually, what do you mean by that? Based on other forum posts it is my understanding that you cannot add the same folder more than once to the Sync client...
  22. Thats in essence how Bittorrent works, that I know. I was more looking for a way to restrict a single client in the above described scenario, but from your answer I would guess that it cannot be done...
  23. Hi, Have tried searching the forums for info on this, without luck so here goes... Lets say I have a scenario where I want to restrict a specific Sync client (Client A) so it can only communicate with another specific client (Client , which in turn then can communicate with the rest (Client C, D, E and so on). Updating a file on client E would then sync between all clients except client A which would receive its update when client B had received it. Looking at the configuration options in the Sync client (Client A) I would think that disabling the "Use relay if needed" and then restricting the firewall so it can only talk to Client B would do the trick. Am I way of on how to achieve this? Regards, Anders