File-manager

Introduction

The file-manager is a web-based interface to manage a collection's configuration files. You can:

Each administrative user has a series of file-manager rules that specify what files they can manage and what actions can be performed on these files -- the actions are defined on a per-file (or file type) basis, so it is quite possible to be allowed to perform an action on some files, but not others. For example, you can delete backup copies of files, but not the standard Funnelback files.

Managing a Collection's Files

  1. Go to the "Manage Collection" section of the administration home page.
  2. Use the drop-down menu to select the collection you wish to manage.
  3. Click on the "Administer" tab
  4. Click on the "Browse Collection Configuration Files" link, which will take you to the file manager page for the specified collection

File Manager Main Page

The file-manager page for a sample collection looks like the following:

File-manager-main.png

Editing files

The first column of the panel is the names of the files that you can manage. If the name is a link, then this leads to the file editing page for that file.

Deleting files

If you have delete permissions, the delete link will delete the configuration file. Note that several files can never be deleted, for example the simple.form file.

Restoring files

Clicking on the restore link will rename a backup file to its original name, replacing the existing file with the previous copy.

Downloading files

If you have download permission, the download link will download the file from the Funnelback server to your workstation.

File Information

The last column in the file manager table displays the last modified date for each file and its size.

Presentation Files

Files relating to results presentation are shown in two separate sections:

File-manager-live-preview.png

Live
Files that are currently live
Preview: Files that can be edited and previewed without affecting the live files.

The "preview" files will need to be published to move into the "live" area.

Creating new files

There are a number of optional configuration files in Funnelback that can be created if they are needed. They are listed in the "Create" drop down menu. Some example files:

custom.ftl
Create, and name, a FreeMarker template.
best_bets.cfg
The configuration file for best_bets.
external_metadata.cfg
The configuration file for external metadata.
template.xsl
the XSLT file for transforming XML-based data, such as database collections.

Backup files

A number of file actions provide the option of keeping a backup of the original file when its replacement is created. These files are named with the original file name, plus a time stamp of yyyymmddHHMM. For example, editing the xml.cfg file generated the following files:

-rw-r--r--  1 search search    62 2006-03-08 15:40 xml-200603131400.cfg
-rw-r--r--  1 search search    62 2006-03-13 14:00 xml.cfg

You can restore the backup file whenever you want to (assuming you have permission to do so).

Uploading files

If you have upload permission, you will see an upload button:

File-manager-upload.png

To upload a file:

  1. Click "Choose file" or "Browse" to select the (local) file on your workstation;
  2. Click the Upload button.

The file will be transferred from your workstation to the Funnelback server.

See also