Sally, The . in front of the filename is used while the contents of the file are being written, so that the file will not be picked up by processors like ListFile (if configured to watch the same directory to which files are being written) until the writing is complete. Can you confirm that the complete file contents have been written, and the .filename is still present in the directory?
On Thu, Oct 5, 2017 at 7:47 AM sally <[email protected]> wrote: > > I have send updated file to directory used a logic of putFile but it save > file as i ".filenam.xml" and can't get it by getFile Processor how can > remove "." from this file, i have read that putFile makes it automatically > i > mean adding dot in front of flowfile name, but how can i remove this dot? > final Path tempCopyFile = > > rootDirPath.resolve("."+flowFile.getAttribute(CoreAttributes.FILENAME.key())); > this is how it works in putFile how can i make same in my proessor without > adding "." to filename? > > > > -- > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/ >
