Writes the contents of a FlowFile to the local file system
Tags: put, local, copy, archive, files, filesystem
Properties:
In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
Directory | The directory to which files should be written. You may use expression language such as /aa/bb/${path} | Yes | No | ||
Conflict Resolution Strategy | Indicates what should happen when a file with the same name already exists in the output directory | fail |
| No | No |
Create Missing Directories | If true, then missing destination directories will be created. If false, flowfiles are penalized and sent to failure. | true |
| No | No |
Maximum File Count | Specifies the maximum number of files that can exist in the output directory | No | No | ||
Last Modified Time | Sets the lastModifiedTime on the output file to the value of this attribute. Format must be yyyy-MM-dd'T'HH:mm:ssZ. You may also use expression language such as ${file.lastModifiedTime}. | Yes | No | ||
Permissions | Sets the permissions on the output file to the value of this attribute. Format must be either UNIX rwxrwxrwx with a - in place of denied permissions (e.g. rw-r--r--) or an octal number (e.g. 644). You may also use expression language such as ${file.permissions}. | Yes | No | ||
Owner | Sets the owner on the output file to the value of this attribute. You may also use expression language such as ${file.owner}. | Yes | No | ||
Group | Sets the group on the output file to the value of this attribute. You may also use expression language such as ${file.group}. | Yes | No |
Relationships:
Name | Description |
---|---|
failure | Files that could not be written to the output directory for some reason are transferred to this relationship |
success | Files that have been successfully written to the output directory are transferred to this relationship |