GetFile 2.0.0

Bundle
org.apache.nifi | nifi-standard-nar
Description
Creates FlowFiles from files in a directory. NiFi will ignore files it doesn't have at least read permissions for.
Tags
files, filesystem, get, ingest, ingress, input, local, source
Input Requirement
FORBIDDEN
Supports Sensitive Dynamic Properties
false
Properties
Restrictions
Required Permission Explanation
read filesystem Provides operator the ability to read from any file that NiFi has access to.
write filesystem Provides operator the ability to delete any file that NiFi has access to.
Relationships
Name Description
success All files are routed to success
Writes Attributes
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
See Also