Support Questions

Find answers, ask questions, and share your expertise

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.