GreenLED Posted March 31, 2014 Report Share Posted March 31, 2014 I'm implementing BTsync in a business setting. I'd like to schedule BTsync to start at a specific time. This is not a problem. The issue I'm running into is understanding how "Pausing" works. If I tell BTsync to "Pause", what happens to the file once the sync is "Un"paused? For example ... PC 1 = Sync Online PC 2 = Sync Online ======================= File Sync in progress on a particular file (let's assume it's a large file) When BTsync is told to "Pause", does it complete the current file and then stop syncing? If it stops in the middle of a file, what happens if that file is somehow altered while the sync is paused. Then after the sync is unpaused, does BTsync just overwrite the file? Can you say "Turn off after a complete sync"? I need a graceful way to turn off BTsync. In this way, it does not cause congestion on my network. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted March 31, 2014 Report Share Posted March 31, 2014 GreenLED, From BTSync POV doing something with the file while paused is the same as doing something with the file when it is being synced. In this case the seeding peer which detected file change will have to recall file metadata and let other peers know. If changes are massive (more than 90% of the file or more than max_file_size_diff_for_patching) - file will be downloaded from scratch. Otherwise it will keep already-downloaded part. Even paused, BTSync still merges trees, messages and other service information. Can you say "Turn off after a complete sync"? I need a graceful way to turn off BTsync. In this way, it does not cause congestion on my network. I suggest checking API. You can determine folder status and if upload and download are "0" it means that folder is fully synced and you can gracefully shut BTSync down. 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.