Thanks Chris, That makes sense. Regards, Satish.
On Sun, 22 Nov 2020, 12:23 pm Chris Sampson, <chris.samp...@naimuri.com> wrote: > You could use UpdateAttribute to copy the original filename into another > attribute of the FlowFile before it gets to FetchS3, e.g. original_filename > = ${filename} > > Then refer to the appropriate attribute when needed in your flow. > > > Cheers, > > Chris Sampson > > On Sun, 22 Nov 2020, 03:44 naga satish, <cnagasati...@gmail.com> wrote: > >> Mike, Is there a way that I can retain filename with out updating >> attributes? I mean is there any configuration changes that can prevents >> unwanted name changes?? >> >> >> Regards, >> Satish. >> >> >> On Sun, 22 Nov 2020, 12:24 am Mike Thomsen, <mikerthom...@gmail.com> >> wrote: >> >>> It drops the prefix and tries to set a file name in keeping with >>> normal NiFi practices on setting the filename. >>> >>> On Fri, Nov 20, 2020 at 11:06 AM naga satish <cnagasati...@gmail.com> >>> wrote: >>> > >>> > I have created a nifi flow in which I’m listing files from S3 and >>> fetching those files. After the files are fetched by FetchS3 the name of >>> the file is changing. Here is the screenshot. My NiFi supported by cloudera >>> and hosted on AWS. >>> >>