TeleFlow Step 0355
From TeleFlow
Scan Folder Step
Gather a list of all files in a directory and/or a count of files in a directory.
If desired, the Parse step can be used to read each filename one at a time (in a programmatic loop) from the variable containing the file list. Each file in the list is separated by a linefeed character. The @LINEFEED system variable contains a single linefeed character, which you can use in the "Search for Text String" field of the Parse step.
Properties
Scan directory (folder): A valid directory path to find files in. e.g.: C: \VoiceMail\NewMessages or @MessagesDirectory
With file mask (eg: *.txt): A file mask to limit the file names returned by the step. Supports wildcard substitution (I.e. Use ? to indicate any single character, and * to indicate any number of different characters). To return all file names, use '*.*'.
Variable to receive directory list: The variable to receive the directory file list into.
Variable to receive directory count: The variable to receive the total number of files located in the directory.
Action Steps
Fail: The directory scan failed. This may occur for a number of reasons, but the most likely causes are that directory name was not valid, or the directory does not exist.
Related Steps
