| Drupal

One of the most frequent questions we've had in our Drupal training classes is ... "Does Drupal have a good file manager?".

The class attendees had often found solutions, but they were cobbled together from an assortment of modules and often lacked common features in file managers.

Our answer is Filedepot, which is an advanced file manager that works right out of the box and relies only on the CCK and Filefield modules.

Installing FileDepot


You're going to need just three modules to make FileDepot work:

Go through the normal Drupal installation process for all three:

  1. Download the files
  2. Extract the files to a folder on your desktop
  3. Upload the folders to your /sites/all/modules/ folder
  4. Go to Administer >> Site Building >> Modules and enable the modules

Configuring Filedepot


Once you've enabled Filedepot, there will also be a configuration area in Administer >> Site configuration >> Filedepot Settings


You can change a wide number of items inside these setting. Perhaps most importantly for the people who have asked us about File managers, the "Base Setup" area you can decide where to store your files, you can even move them entirely off your site and into a remote storage area:


Managing Filedepot


When you've enabled Filedepot you'll see two links to set up your files and the folders to hold them.

Add Filedepot Files and Folders


To get technical for a minute, this folder will actually be a node. Once you've created it, you can click on "Edit" and upload files directly to the folder.


Once you've uploaded the files and saved the folder, you'll see them attached like this:


Access Filedepot


If you click on the main Filedepot link in your menu, you'll see a page like this. All your files and folders will be listed and can be managed from your Drupal admin interface.

About the author

Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.