Encryption of subfolders can be handled in multiple ways.
Encrypt every subfolder separately and create a metadata file for every subfolder. The folder structure would be visible on the server.
Create a single metadata file only for the top level encrypted folder. I.e. all subfolders would be covered by a single metadata file. All files, including files in subfolders, would be located in one folder without any subfolders. The subfolder structure would be restored on the clients using the filename attribute, which in this case would support complete paths like subfolder/file.txt.
Encryption of subfolders can be handled in multiple ways.
filename
attribute, which in this case would support complete paths likesubfolder/file.txt
.