tFileProperties
file.
tFileProperties Standard properties
These properties are used to configure tFileProperties running in the Standard Job framework.
The Standard
tFileProperties component belongs to the File family.
The component in this framework is available in all Talend
products.
Basic settings
Schema and Edit |
A schema is a row description, it defines the fields to be processed and passed on to The schema of this component is read-only. It describes the main
|
File |
Name or path to the file to be processed and/or the variable to be For further information about how to define and use a variable in Warning: Use absolute path (instead of relative path) for
this field to avoid possible errors. |
Calculate MD5 Hash |
Select this check box to check the MD5 of the downloaded |
Advanced settings
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component can be used as standalone component. |
Connections |
Outgoing links (from this component to another): Row: Main; Iterate.
Trigger: On Subjob Ok; On Subjob Incoming links (from one component to this one): Row: Iterate.
Trigger: Run if; On Subjob Ok; On For further information regarding connections, see |
Displaying the properties of a processed file
specified file.
Procedure
-
Drop a tFileProperties component and a
tLogRow component from the Palette onto the design workspace. -
Right-click on tFileProperties and connect it
to tLogRow using a Main
Row link. - In the design workspace, select tFileProperties.
-
Click the Component tab to define the basic
settings of tFileProperties. - Set Schema type to Built-In.
-
If desired, click the Edit schema button to
see the read-only columns. -
In the File field, enter the file path or
browse to the file you want to display the properties for. -
In the design workspace, select tLogRow and
click the Component tab to define its basic
settings. For more information, see tLogRow. -
Press F6 to execute the Job.
The properties of the defined file are displayed on the console.