Tectia

Transferring Files Periodically

This example shows an extremely simple file transfer task that does not require any connections to remote hosts. We define a time-based trigger to move a test-file from one directory to another on the local host.

Start by logging in to Tectia MFT Events as the default user sshmft.

Open the Event List view in the administration interface, and click New Event.

Tectia MFT Events administration interface - Event List view

Figure 4.1. Tectia MFT Events administration interface - Event List view

The Event Editor opens and presents a logical working order for configuring events. The configuration is created as follows:

  1. Enter a descriptive name for the new event.

  2. In Triggers, click the New button and select Time-based trigger. Add an hourly trigger to run the event at 3 minute intervals. (Keep the interval short, so you can quickly see the results.)

    Transferring files periodically

    Figure 4.2. Transferring files periodically

    Select also an end date (for example for tomorrow), to make sure the test does not keep running endlessly.

  3. In Actions, select File Transfer action and a File Transfer view appears. On the left, browse to the source file on your local host, and then on the right, define a destination directory where you want the file copied.

    Go to the Options - General tab, and define the Action when destination file exists to add the date and time to the destination file name.

  4. In field On Success, define an email notification to be sent to yourself once the file transfer has been completed successfully. Enter your email address in the To field, and add a subject of your choice. You can leave the Sender and Subject options empty, and Tectia MFT Events will use the default information defined in the configuration.

    Configuration for a periodic file transfer

    Figure 4.3. Configuration for a periodic file transfer

  5. Save the configuration.

You can view the status of the event in the Event List view. All new events are enabled by default, so the file should be transferred in 3 minutes time. The file is actually copied to the destination, and kept also at the source location. When the transfer gets repeated at 3 minute intervals, Tectia MFT Events will always add a new timestamp to the file name of each transferred file instance.

Via the Event List view, it is also possible to edit, remove and disable selected events. Select the event and click the relevant button on the top.

Go to the Log view to monitor the file transfer operation. There are standard searches to display the logged data per event status (Success or Failure) and a separate set of time-based filters for the past day, week or month.

Example of successful events in the logs

Figure 4.4. Example of successful events in the logs