NiFi Ingest 23.2

# FilenameFromMetadata

The FilenameFromMetdata processor extracts file names or URLs from document metadata fields. If the extracted value is a URL, the processor also downloads the file. The file name or downloaded file is associated with the FlowFile so that it can be processed by other processors.

## Properties

Name | Default Value | Description
--- | --- | ---
XPath |  | An XPath expression that identifies the XML metadata field(s) to extract file names or URLs from.
Filename from field regex | `^(.*)$` | A regular expression that includes a single capture group that extracts the file name or URL from the field value. The default extracts the entire field value.
Proxy Host |  | The host name or IP address of the proxy server to use to download URLs.
Proxy Port |  | The port of the proxy server to use to download URLs.
Filename Is URL | False | A Boolean value that specifies whether the text matched by the regular expression capture group is a URL to a file that must be downloaded.
Temp Directory | temp | The path to a temporary directory in which to store downloaded files.

## Relationships

Name | Description
--- | ---
success | Successfully processed FlowFiles are routed to this relationship.
failure | FlowFiles that had an invalid or unknown format.

Copyright 2018-2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL NiFi Ingest 23.2

Topic Title: FilenameFromMetadata