File Read
File Read transfer objects can move files and make file contents available. File paths can be selected from a database or as a constant. You can directly configure the transfer object within the connection as explained .
After double-clicking on the transfer object, set the following properties:
Tab: Source
Dynamic or static | File source static or dynamic path. Dynamic paths can get defined by an connection arrow and it can change through the runtime. |
Abort if file not found | Activate to abort the transfer if the file was not found. |
Read binary | Select this option if you want to read a binary file like *.doc, *.jpg, * .xlsx, ... |
Read Text, Encoding | Select if you want to read a simple text file and select the files encoding. |
Tab: Target
Move file after transfer | Activate this property and select a folder to save the file in the state before the transfer operation. Attention: If transfers are triggered every second, a new archive file is created every second. This option is therefore more suitable if, for example, daily statistics are created. The file name of the archive file contains the date and time of archiving (not the creation date of the original application file). Format: yyMMdd_hhhmmss_fileName. |
Dynamic or static | Dynamic or static target path. For static target path, select the file name to read the file content. |