https://gitlab.synchro.net/main/sbbs/-/merge_requests/261#note_3329
This is not sufficient for checking if a user can download (e.g. doesn't account for restrictions or the new library download ARS added in v3.20).
The proper way to check if a user can download from a file area is to check the `file_area.lib_list.dir_list[].can_download` property or in this case, the `file_area.dir[].can_download` property. e.g.
```
var userCanDownload = file_area.dir[pDirCode].can_download;
```
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net