Website Documents Management

I have a simple built-in document management solution in my software that doesn’t use sub-folders, in an attempt to keep code side super simple. I database the filenames and allow for extra description info, and have a “category” workflow where you choose the category of the file when uploading, such as “Board of Health Meetings” or “Zoning Board Maps.” For well over a decade my customers have been satisfied with this simple system.

One town I host has a new town clerk who wants folders in folders so he can build out foldering systems like…

/files/board of health/meetings/2025/agendas/boh april 1 2025.pdf
/files/board of health/meetings/2025/minutes/boh april 1 2025.pdf
/files/board of health/meetings/2025/attachments/boh april 1 2025 maps.pdf

Personally, I’d prefer if all the files were…

/files/board of health 2025-04-01 agenda.pdf
/files/board of health 2025-04-01 minutes.pdf
/files/board of health 2025-04-01 maps.pdf

… but what do I know?

So, I’m looking for a CFM applet I think I remember seeing many years ago that essentially gave you the document tree from a given folder (ie; files/), much like the Windows File Explorer. He keeps mentioning file explorer, and I keep telling him the web is not his PC.

Anyone know of such a thing? It would need to allow file uploads and renaming etc to those with rights.

Thanks in advance.

That was could have been the file manager from CKEditor, that had a popup file explorer selector.

That said it wouldn’t be too hard to feed a directorylist into any ui component?

By applet you mean java applet? any reason you can’t just use a js framework and supply it json?

Are you using any js frameworks in your file manager (or is it static?)

if using jQuery you could use jsTree and use

<script>
    jsonTree = serializeJSON(fileTree)
    treeData = #jsonTree#;
    $('#tree').jstree({ 'core' : { 'data' : treeData } });
</script>