File Manager feature

We support uploading of files to a page. This is very similar to having attachment to an email. At this time, the uploaded files are added as children of the page. The upload feature makes use of the Editor feature [core] with Drag & Drap functionality and Widget feature with the Browse Button.

However, a complete file manager has to offer the ability to delete files, rename files, move or share files from one page to another (and these features are not yet available).

Implementation Note

The visual part of the file manage has to be a Widget (??? I think now that all pages accept attachments and if not then uploads just get refused ???). See: Widget feature has a good example that works well, although it lacks the multi-file support.

The page editor should already give us a way to do so. We can look into IMCE and reuse some or all of that code.

The Browse should work with multiple files also. At this point IMCE only allows you to upload one single file. We can also look into a Virtual Box mechanism where users see their file folder on their computer and can copy/paste files into it. (that last one would be the best assuming we can get very high security on BOTH sides.)

Files mime type must be checked by the server and by default only known formats are accepted (only exception(s) would be all the administrator users who may want to upload other files...)


  • Quotas
  • Limited file types
  • Limited destination folders (protected by chown in Unix anyway, but also on a per user basis)
  • Private and public files
  • Protected files (i.e. requires a password to download)
  • Image files limited by image sizes (i.e. 800x600)
  • All files saved in Cassandra so they are all accessible from all the servers

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly