Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Can you name a file with the PutFile processor?

avatar
Expert Contributor

Hi, when using the putfile processor, i see that it adds its own name to a file before adding it to the directory. Is there a way for me to name the file?

1 ACCEPTED SOLUTION

avatar

Hi @Roger Young,

The processor uses the 'filename' attribute of the flow file. You can use an UpdateAttribute processor to update this attribute to give a custom name to your file.

Hope this helps.

View solution in original post

2 REPLIES 2

avatar

Hi @Roger Young,

The processor uses the 'filename' attribute of the flow file. You can use an UpdateAttribute processor to update this attribute to give a custom name to your file.

Hope this helps.

avatar
Expert Contributor

@Pierre Villard yep, that did it, thanks for the help.