File loader allows you to watch a specific file system folder for files and pick them up to a work queue where they can be processed.
- IIS application pool user has modification rights set in watched directory.
This loader uses TextFile or BinaryFile work queue classes (see mode connection string).
In order to fill Your Work Queue from files, on tab Creation You have to fill the External Source field with File and fill Connection String as described later. All other fields of External Source group are not applicable and should remain empty.
The connection string can consist from the following parts:
|Path to a directory, where the loader sniffs for files
|Wildcard expression that defines which files loader will load to work queue
|One of TEXT and BINARY. Use TEXT if work queue class you have set to TextFile, user BINARY if work queue class is BinaryFile.
|Characer encoding of files in path direcotry. ('utf-8', ...). Available encodings are names of all available encodings of System.Text.Encoding .net class (http://msdn.microsoft.com/cs-cz/library/system.text.encoding%28v=vs.110%29.aspx). Beware: 'utf8' is not valid encoding string.
Indicates a compression algorithm of the file. Supported values:
|If set to
true multiple source files (if present in the scanned folder or contained in the loaded compressed file) will load into a single work queue entry. Normally each file produces a separate entry. This is useful e.g. for scenarios where multiple CSV files contain information about a single record and you need to process them in a single step.