[Solved] Number of encrypted files doesn't match


Miyo

Recommended Posts

Hi,

if I understand encrypted folders correctly, the encrypted folder should have the same number of files and directories as synced original folder. For example, for every folder one encrypted folder is created, and for one file one encrypted file is created. The file size of each file should also stay exactly the same.

Is my understanding correct? I'm asking because I have found a situation that I think is weird: I have synced three machines. One has rw access, the second one is read only, and the third one is encrypted. All machines seem to be in sync. File size of all three folders is the same (only differs for 20 bytes on the machine with encrypted folder). However, folder and file count is not the same. For the machines 1 and 2 with rw and ro access Windows reports 26491 files in 2183 folders; the third machine with encrypted access reports 13682 files in 1428 folders. Apparently there are many files and folders so it's difficult to check what's missing (if anything). I have manually checked some of the folders and file counts and it seems to be in order. Number of files matches, reported file sizes also match. It's weird that total folder size matches, but file and subfolder count is way off.

What am I missing?

Thank you!

Link to comment
Share on other sites

Hi @GreatMarko, thanks for your reply.

There are no files or folders excluded. The list only lists files that I don't have in this folder. Also, this wouldn't explain why the total file size matches. If files were excluded, total file size would have to be smaller.

The same goes for locked files - total file size wouldn't match then.

Any other ideas?

Link to comment
Share on other sites

Miyo,

check this:

1) Archive size on RW peers. It might be different on peers, and thus Windows Explorer gives different results.

2) enable column "Size" in Sync, and compare that on RW and encrypted peers. 

3) open peer list on RW peers and see if there are files in up/download queues. 

If yes, collect the logs from one RW and the encrypted node,  from %appdata%\BitTorrent Sync directory and send these to support team: stop Sync, go to the directory, delete all sync.log and all sync.log###.zip, start Sync, let it reindex all folders , give it some 10 minutes and send fresh logs from the directory to support. logs from one RW and the encrypted node. 

Link to comment
Share on other sites

Hi,

I have managed to find the culprit with the help of both of you.

The problem was in different file count and size reporting on Windows. I did a scenario where I tested the sizes and number of files and it turned out that the settings on what files to show (system, hidden) were different on different computers. That's why also the reported file count and sizes were not the same.

I have removed all the files that get ignored because of the ignore list and set the same folder view options to show hidden and system files on all machines. Then the numbers added up and now the file count and the file size is reported the same as expected.

Thanks for your great support!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.