Here we are going to test several cases when using BitTorrent Sync.
Assuming we have two devices, A and B. Below are the cases:
Case 1
The conclusion is that the in readonly mode, the existed file or modified file will not be overwrited.
Assuming we have two devices, A and B. Below are the cases:
Case 1
1) Create and share folder test1 on Device A, and use the readonly key to create the same folder on Device B. 2) Create test.txt in folder test1 on Device A, the file is synced correctly on Device B. 3) Change test.txt in on Device A, the change is synced correctly on Device B. 4) Create other files in folder test1 on Device B, nothing synced back to Device A. 5) Change the test.txt in Device B, nothing synced back to Device A. 6) Change the test.txt in Device A, nothing synced to Device B. 7) Create test2.txt in folder test1 on Device A, the file is synced correctly on Device B, but test.txt remains modified version on Device B. 8) Remove test.txt in Device B, nothing happend. 9) Change the test.txt in Device A, nothing happened. 10) Remove the folder test1 on Device B from btsync, and readd it with the readonly key, all files in Device A synced to Device B correctly. 11) Again change the test.txt in Device B, and then change the test.txt in Device A, nothing happened. 12) Remove the folder test1 on Device B from btsync, adn readd it with the readonly key, the test.txt remains the modified version on Device B(The one on Device A does not overwrite it).
The conclusion is that the in readonly mode, the existed file or modified file will not be overwrited.
Comments