The GetNextFile command obtains the next sequential file in the directory provided. These files are either accessed alphabetically or by time or they are not sorted. The following parameters described in the table below can be defined from the process command window.
Field |
Description |
---|---|
Label |
Specifies the unique label of this process command. This label allows other commands to branch to this command. The label that you type here appears in the Label column on the EC Gateway Process Window. |
Disable command |
Disabling the command will allow temporary modification of the process statements. This allows for testing of the statements for error-free robustness. The command that has been disabled will not show in the script file (.pfs file). |
Destination |
Destination for the selected files. Clicking on the arrow icon beside the field will show that there are two variable choices for this parameter: FileName or Parameter. |
Directory |
Source directory containing the files. Clicking on the arrow icon beside the field will show that there are two variable choices for this parameter: Parameters or Constant… will open Select a Directory… window. |
Wildcard |
There are two valid wildcards. The ? is used for a single character. The * is used for any characters. |
Sort Order |
Clicking on the arrow icon beside the field will show that there are three choices for this parameter: Alphabetical, Time, or No Sort. If you select Time, the time is based on the creation date and not the modified date displayed in Windows Explorer. This means that the oldest file is retrieved first. You can see the time when a file was created by running Windows Explorer and right-clicking a file and then selecting Properties from the pop-up menu. |
Unlocked File Only |
Choose Yes to open files that are not locked. Choose No to open locked or unlocked files. |