Disk explorer

See the files on the server that you cannot access

Case description

When you are a server admin you might be able to access the servers hard drive without any issue, but as a developer you might not have the required access to see the files on the server. It's also not the most convenient way to start copying files with a workflow and loading them to the workflow logs. The disk explorer feature solves all of these issues by creating a Dynamic JavaScript server page that you can access from your browser. You'll be able to see all the files and folders on the disk, starting from the root folder of your Adobe Campaign instance, and open files to check their content.

The disk explorer feature comes with an access management feature to ensure that not everyone can see the files on the server. In the end they might contain sensitive information which shouldn't be visible to a normal or web operator. Therefore a restriction to admins has been put in place. Of course, you can change this to your own needs if you want.

Let's have a look

The broadlog insighs dashboard is a dynamic server page that you can consult using your webbrowser. By default the recipient and visitor broadlog table will be analysed.

How it works?

Functional description

The disk explorer feature relies on basic JavaScript code to list all files and folders in a specific directory. It'll generate a table in which all folders and files will be listed. Icons are used to show the difference. When clicking on a folder, the page will be reloaded with a different starting path. The starting path is shared through the url itself, making it possible to show different content on the same page.

When clicking on a file, a second page will be loaded, showing the properties and content of the file. The location and name of the file are once again shared through the url itself, as parameters. The file can be loaded using different methods. A different loading method is for example used for XML files, this to ensure proper loading. In certain cases the page will offer use to reload the file using a different engine.

Technical description

When you install the disk explorer package, the following objects will be created.

Dynamic JavaScript Pages

wsb:diskExplorer
This page shows the table with files and folders.

wsb:diskExplorerDetail
This page will show the content of the file.

Installation and usage

You can simply download the package using the link above and install it on your instance.

Now go to the JSSP page in your browser. The url of your server you'll need to construct yourself, but as a reference, use this one: https://localhost:8080/wsb/diskExplorer.jssp
You might need to play around with http(s) and the port.

The source code of this feature is available on Azure DevOps

Find out more

Usage

You can use it all for free, but you need to be aware of the following 

You are allowed.
  • to install the packages or implement the ideas on your own instance
  • to use and modify the features on your own instance
  • to promote this website to your clients
You are not allowed.
  • to redistribute the packages or ideas
  • to embed the concepts or packages in the software as native or add-on packages
  • to earn money based on these features
You agree.
  • that you are installing the packages / implementing the features at your own risk
  • that any damage to your instance is for your own account
You are aware.
  • that we use the "wsb" namespace for our features
  • that there's no active support, but feel free to drop a mail