Read File
Read File transfer objects can move files and make file contents available. File paths can be selected from a database or as constants. You can project the transfer object directly within the connection as described.
After double-clicking on the transfer object, set the following properties:
Tab: Source Path
| Property | Description |
|---|---|
| Dynamic or Static | Dynamic or static source path selection. For static source paths, select the file name to read the file contents. |
| Abort if file not found | Enable to abort the transfer process without an error message if no file is found. |
| Read binary data | Select this option if you want to read a binary file. (E.g. *.doc, *.jpg, * .xlsx). |
| Encoding | Character encoding can be selected. The default is UTF8. |
Tab: Destination path
| Property | Description |
|---|---|
| Move file after transfer | Activate this property and select a folder to save the file in its state prior to the transfer process. Please note: If transfers are triggered every second, a new archive file will also be created every second. This option is therefore more suitable for creating daily statistics, for example. The archive file contains the date and time of archiving (not the creation date of the original file) in the file name. Format: yyMMdd_hhmmss_fileName |
| Dynamic or static | Dynamic or static target path. For static target paths, select the file name to read the file contents. |