ActiveTransfer Server 10.11 | webMethods ActiveTransfer Documentation | Administering ActiveTransfer Server | Welcome to webMethods ActiveTransfer (new user interface) | Managing Actions | Task Configuration Definitions | Decrypt Task Configuration
 
Decrypt Task Configuration
You can configure the following properties for the Decrypt file operation task:
Field
Description
Task name
Type a unique name for the task.
File filter
Type the name of the file if you want to filter files with specific names. By default, ActiveTransfer Server considers all files. If you want to use regular expression, specify a valid regular expression in File filter and select Use regular expression option.
Note:
You can use wildcard characters to filter the file names. For example, type *.zip to trigger the action only when ZIP files are uploaded or downloaded. To trigger an action based on a name string in the ZIP files, use the name string in the File filter box, preceded and followed by wildcard characters. For example, type *invoice*.zip to trigger the action based on the file URLs, when ZIP files containing the character string invoice in their file names are uploaded or downloaded. If you define a File filter for a task, the task acts only on files that are filtered out.
Few examples for regular expressions are:
*^(?!.*purchaseorder).*$: Excludes files with the file URL containing purchaseorder.
**/out/.*: Include files with the file URL containing the folder out.
*^abc(.*)123$: Includes anything that starts with abc and ends with 123. Matches abc123, abcxyz123, but not abcxyz123def.
*NEW-((*.doc)|(*_backup_*)): Includes anything starting with NEW- that either ends in .doc, or is followed by the string _backup_.
Decrypt with Private PGP key alias
Type the certificate alias for the private key file.
Note:ActiveTransfer Server can decrypt the file only if the file is encrypted with the corresponding public key.
Verify signature
Type the certificate alias for the public key file.
Note:ActiveTransfer Server can verify the signature only if it was added during encryption.
Derive file name from input file
Select this option to the retain the original filename of the encrypted file.
Delete original file
Select this option to delete the original file and retain only the decrypted files.
Execute error task
Select this option to execute an error task if the file operation fails. For more details, see Error Task Configuration.
A decrypt task decrypts files passed on from the previous task and creates decrypted files without the .PGP extension. The source folder location contains both, the original files and the corresponding decrypted files. If you select Delete original file, the original files are deleted. For example, you have configured a post-processing action which is triggered by a file uploaded to a folder (for example, a folder named incoming) that points to a physical location. You have also configured the following tasks in the action:
1. Move task: To move a file that matches the filter, *invoice*.PGP from the incoming folder to the working folder.
2. Decrypt task: To decrypt the file with the Delete original file option is selected.
After the action is executed successfully, the decrypted file (without the PGP extension) is available in the working folder, and ActiveTransfer deletes the original encrypted file. If you want to make the files from the incoming folder available to an task that is configured to execute after the decrypt task, ensure that you do the following:
*Do not select Delete original file for the decrypt task.
*Configure a find task to find the original files from the incoming folder in the incoming folder.