Hello everyone! I have some problem with correct calculating synchronization progress. I use
GET /rest/db/status for getting infomation of sync folder and try to calculate by this formela:
result = Math.Floor(100 * (1 - (neededBytes / totalBytes))));
So I getting valid percentage, but I would like to other way of calculate. F.e there are files in the sync folder and they are synchronized. Next I add the files to the folder and I would like to get percentage from 0 - 100% like a copy progress not from current state% - 100%.