The Resources File System

The final method of managing source data in FME Server is to use the system of tools called Resources.


What are Resources?

"Resources" is an inbuilt file management system that allows data (and other files) to be published to an FME Server instance and used within all Server operations. Resources can be managed through the Resources page that can be accessed on the side menu.

The Resources page is where you can find all of the files that are uploaded to FME Server and also the files that are created by FME Server:

As you can see, the Resources filesystem is set up with many default folders in which files can be stored. Although there are a number of different folders data can be stored in, for datasets the most logical folder to use is the Data folder:

Above is the data folder containing several files. Notice once a dataset has been checked, the Actions button lists available actions such as upload, copy, delete, or move files (or folders).


Other Upload Methods

Besides the web interface, there are other ways of getting data into the Resources filesystem.

Firstly, the FME Server publishing wizard in FME Workbench allows this. Where the default method is to select the files and upload them to the same repository as the workspace, it is permitted to change the location to the resources filesystem:

Alternatively, FME Server resources actually exist on the operating system's filesystem, meaning the data can be copied there directly. The default location (on a Windows operating system) is:

C:\ProgramData\Safe Software\FME Server\resources

TIP
ProgramData is a hidden folder, in order to see it on your Windows Machine, click the View tab on the ribbon in Windows Explorer, then in the Show/Hide category, enable Hidden Items:


Finally, clicking the New button in the main Resources page in FME Server allows a connection to be made directly to an Amazon S3 filesystem:

This allows data stored in S3 buckets to be used as the source for a translation on FME Server.


Using Uploaded Data

Using Resources data in a translation is simply a case of selecting it from that folder where prompted. All prompts for data will allow selection of files from a Resources folder.

For example, a user has uploaded a MapInfo TAB Parks dataset to the Resources data folder. Provided the source dataset is a published parameter, when the workspace is run the user is able to select data from the Resources folders, like so:

In fact, it's even possible to set the output data folder to be a Resources folder too:


Benefits for Data Management

There are several benefits to using the Resources filesystem as a data storage tool:

  • Data can be used by any workspace, without having to upload it every time
  • Data can be stored locally (to the FME Server Engines), even when access to the operating system's filesystem is restricted by an FME Server Administrator
  • A Resources folder can be mapped and shared among many users as a physical drive
  • A Resources folder is a more permanent solution. Data is not removed by automated system cleaning tools

Miss Vector says...
Not just one, but two questions this time!
Firstly: I copy a workspace into a resources folder using the upload tool. What then?

1. I can run it by browsing the resources, selecting the workspace, and clicking run
2. I can run it through the Manage > Workspaces menu tools
3. I can run it by calling it with the FMEServerJobSubmitter transformer in FME Desktop
4. I can't run it because it's not properly published to a repository

Secondly: Uploading an entire folder of files come with what restriction?

1. Folder upload only works on certain web browsers
2. Folder upload requires the folders to be zipped into a single file
3. Folder upload only works on Windows C: drive (not D:, E:, etc)
4. Folder upload requires FME Desktop to be installed on the computer being uploaded from

results matching ""

    No results matching ""