Chris created NIFI-8426:
---------------------------

             Summary: FetchFile processor to update filename attribute
                 Key: NIFI-8426
                 URL: https://issues.apache.org/jira/browse/NIFI-8426
             Project: Apache NiFi
          Issue Type: Wish
            Reporter: Chris
         Attachments: image-2021-04-13-15-01-04-426.png

In using the fetch file it would be nice to be able to have the fetch file able 
to update the flowfile attributes of the file it picked up.  Since on the fetch 
there is a property for specifying what file to pickup which doesn't need to be 
"file.path/filename" and then the incoming flows attributes would be incorrect.

 

Maybe this would be a boolean property to write the attributes of the file that 
was actually picked up rather than of what was on the incoming flow.

!image-2021-04-13-15-01-04-426.png|width=406,height=196!

 

I have some cases in which I might list one thing but want to fetch something 
else. Alternatively maybe have a list processor in the middle able to take a 
flow as input rather than being timed.  I do think this would  be beneficial 
over having to move files to directories in these cases where you want to 
trigger pickup of files and not depend on time windows since there's otherwise 
no need for network traffic of moving the file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to