Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Drop and/or replace a flowfile with FetchFile contents

avatar
Contributor

I need to replace all of the contents of my flowfile with a file on the disk. Seems like FetchFile just adds the contents to the flowfile, is there a way to drop the contents of my flowfile first?

1 REPLY 1

avatar
Master Guru
@Andrew Riffle

Use ModifyBytes processor which will drop the contents of your flowfile.

Set the property value remove all content to true

Processor configs:-

83412-modify-bytes.png