Re: Nifi:How can i remove “.” from “.filename” in nifi custom processor

2017-10-06 Thread sally
actually it never fiishes writing process i mean exceptions like this can't rename file ".conf.xml" -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Re: Nifi:How can i remove “.” from “.filename” in nifi custom processor

2017-10-06 Thread sally
how can i see that flowfile write is already finished i have renameTo code like this : final Path rootDirPath = get("C://Users//user//Desktop//try2//nifi-1.3.0//1"); final Path tempCopyFile = rootDirPath.resolve("."+flowFile.getAttribute(CoreAttributes.FILENAME.key()));

Re: Nifi:How can i remove “.” from “.filename” in nifi custom processor

2017-10-05 Thread Jeff
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 c

Nifi:How can i remove “.” from “.filename” in nifi custom processor

2017-10-05 Thread sally
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? f