File Connections
A File Connection is a pointer to a local file repository or folder. Any files that are processed are done so in this local repository. You configure the File Connection with the appropriate details for locating or creating a file.
Transports are used to send or receive files from this local repository. Please refer to Transports for more details.
By being a separate module from the File Definition, you are able to create a single File Definition and use it against multiple similar files in different locations, simply by assigning a different File Connection.
When assigning a File Connection to a File Definition it is considered a design-time assignment.
When coming to use the File Definition in an Action, you have the chance to re-assign the File Connection. This allows you to use the same File Definition in multiple Actions, each with their own File Connection. This is called a run-time assignment.

or,

Fields
Field Name | Description |
---|---|
File Description | The friendly name for the File Connection. This is the name that the connection will be known as throughout the configuration. You should enter something meaningful to help you recognise the connection. |
File Directory | The main directory for this File Connection. Click the 3-dot elipse to select a valid directory. Click the file open button to open the specified directory. |
Audit Directory | The audit directory where successful files are stored. Generally this a sub-directory of the main directory. Click the 3-dot elipse to select a valid directory. Click the file open button to open the specified directory. |
Error Directory | The error directory where failed files are stored. Generally this a sub-directory f the main directory. Click the 3-dot elipse to select a valid directory. Click the file open button to open the specified directory. |
File Name | A file name pattern that created files are named when they are being written/created. |
File Search Pattern | The search pattern to be used to filter files when reading. Wildcards are accepted as part if file names. |
Ensure unique file name | Ensures files with the same base name are given unique names by the addition of trailing characters. |
Check within ?? seconds | Select the number of seconds to check if the file is locked. |
Allow this file to be accessed via Statelake HTTP Server | Allows files to be received into this File Connection, or pulled from this File Connection, through the HTTP Server. |
Web link name | The name of the endpoint on the HTTP Server. |
Buttons
Button Name | Description |
---|---|
Save | Click to Save any changes you have made. If you do not click Save then all changes will be lost. |
Cancel | Click to Cancel any changes you have made. |
Delete | Click to Delete this module. You will be asked to confirm the deletion. |
Create Dirs | Click this button to create the physical folders defined in the directory fields specified in this File Connection. You can click this as many times as you like. If the folders do not exist they will be created. It will create the main directory, audit directory, error directory, and a special temp directory under the main directory. |