When SMB messages exchange file attribute information, it is encoded in 16 bits as:
Value ======= |
Description ===================== |
0x01 | Read only file |
0x02 | Hidden file |
0x04 | System file |
0x08 | Volume |
0x10 | Directory |
0x20 | Archive file |
others | Reserved - must be 0 |