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_. |
File path | Type the path containing the file to write to. |
Overwrite file contents | Select this option if the file already exists and you want to replace the entire contents of the existing file with new content. |
Contents if ilfe does not exist | Type or paste the content to write to the file if the file does not exist. |
Add before | Select this option to insert new content before existing content in the file and do the following: If you want to insert the content at the beginning of the file, select Beginning of file and then type or paste the new content in the Contents box. If you want to insert the content before a specific string of existing content in the file, select Find, type the string in the box beneath this option, and then type or paste the new content in the Contents box. |
Add after | Select this option to insert new content after existing content in the file and do the following: If you want to insert the content at the end of the file, select End of file and then type or paste the new content in the Contents box. If you want to insert the content after a specific string of existing content in the file, select Find, type the string in the box beneath this option, and then type or paste the new content in the Contents box. |
Execute error task | Select this option to execute an error task if the file operation fails. For more details, see
Error Task Configuration. |