This processor obtains FlowFiles from a local directory. NiFi will need at least read permissions on the files it will pull otherwise it will ignore them.
Modifies Attributes:
Attribute Name | Description |
---|---|
filename | The filename is set to the name of the file on disk |
path | The path is set to the relative path of the file's directory on disk. For example, if the <Input Directory>
property is set to /tmp , files picked up from /tmp will have the path attribute set to ./ .
If the <Recurse Subdirectories> property is set to true and a file is picked up
from /tmp/abc/1/2/3, then the path attribute will be set to abc/1/2/3
|
file.creationTime | The date and time that the file was created. May not work on all file systems |
file.lastModifiedTime | The date and time that the file was last modified. May not work on all file systems |
file.lastAccessTime | The date and time that the file was last accessed. May not work on all file systems |
file.owner | The owner of the file. May not work on all file systems |
file.group | The group owner of the file. May not work on all file systems |
file.permissions | The read/write/execute permissions of the file. May not work on all file systems |
absolute.path | The full/absolute path from where a file was picked up. The current 'path' attribute is still populated, but may be a relative path. |
Properties:
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. If a property has a default value, it is indicated. If a property supports the use of the NiFi Expression Language (or simply, "expression language"), that is also indicated.
Relationships: