Using Wildcards with Event Rule Actions

The OpenPGP Action, the Copy/Move Action, and the File Name Conditions support the use of wildcards. This is useful for Event Rules that batch process groups of files. Standard Windows/DOS format wildcards are used, such as *.file extension, search term .???, search term ?.*, *.*, and so on. This functionality is particularly useful with the Timer event.

Wildcards with OpenPGP

In the OpenPGP Action configuration dialog, the File to Process field supports wildcards. Each matching file is acted upon according to the Action definition.

Wildcards with Copy/Move

In the Offload Action wizard, the Source path field on the Target File tab supports wildcards.

When a wildcard is specified here, the Destination path field specifies the target folder to which each matching file is moved or copied. The files moved or copied into the destination file are given the same name as the files from the source.

Example

Source:

c:\test\*.txt

Destination:

/%FS.FILENAME%

Here, each "*.txt" file that is uploaded goes to "/", with a matching file name. Note that the destination file name is not overwritten.

Configuration Notes

Source:

c:\Work\Today\*.*

Destination:

g:\Backup\Work\Today\

You can also use \\Work, if appropriate.

g:\Backup\Work\Today

EFT Server disregards "Today" and executes the move/copy into:

g:\Backup\Work\

 

Test an Event Rule using a wildcard before you deploy it to ensure it works as expected and does not cause any unwanted behavior. For example, if you do not define the source path appropriately when a wildcard is used, it is possible to set up an Action that moves all the files out of a user's c:\windows directory, which is most likely an undesired result.