<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Nifi:processor like GetFile can't get files with nam “.filenam.xml” in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-processor-like-GetFile-can-t-get-files-with-nam-filenam/m-p/207549#M69006</link>
    <description>&lt;P&gt;I  have  written  custom processors  like  GetFile with  some extra  functionals  but  what i  have  mentioned is  that   it  reitreives  files  for  example  conf.xml only  once  and  then when  i  update  it and  roll  back  to  folder  with such name .conf.xml   it  doesn't  reitreive  this  file   how  can i  force  processor  to   do  it  i mean ,  how  can i   force  it  reiterive  any  kind  of  file no matter  how  many times  it  was  retrevied  before.&lt;/P&gt;&lt;P&gt;i use  this code  to  roll back  folder  after  updating  file  materials:&lt;/P&gt;&lt;PRE&gt;final Path rootDirPath = Paths.get("C://Users//Desktop//try2//nifi-1.3.0//1");&amp;lt;br&amp;gt;final Path tempCopyFile = rootDirPath.resolve("."+flowFile.getAttribute(CoreAttributes.FILENAME.key()));&amp;lt;br&amp;gt;final Path dotCopyFile = tempCopyFile;&lt;/PRE&gt;</description>
    <pubDate>Thu, 05 Oct 2017 14:03:47 GMT</pubDate>
    <dc:creator>salome_tkhilais</dc:creator>
    <dc:date>2017-10-05T14:03:47Z</dc:date>
    <item>
      <title>Nifi:processor like GetFile can't get files with nam “.filenam.xml”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-processor-like-GetFile-can-t-get-files-with-nam-filenam/m-p/207549#M69006</link>
      <description>&lt;P&gt;I  have  written  custom processors  like  GetFile with  some extra  functionals  but  what i  have  mentioned is  that   it  reitreives  files  for  example  conf.xml only  once  and  then when  i  update  it and  roll  back  to  folder  with such name .conf.xml   it  doesn't  reitreive  this  file   how  can i  force  processor  to   do  it  i mean ,  how  can i   force  it  reiterive  any  kind  of  file no matter  how  many times  it  was  retrevied  before.&lt;/P&gt;&lt;P&gt;i use  this code  to  roll back  folder  after  updating  file  materials:&lt;/P&gt;&lt;PRE&gt;final Path rootDirPath = Paths.get("C://Users//Desktop//try2//nifi-1.3.0//1");&amp;lt;br&amp;gt;final Path tempCopyFile = rootDirPath.resolve("."+flowFile.getAttribute(CoreAttributes.FILENAME.key()));&amp;lt;br&amp;gt;final Path dotCopyFile = tempCopyFile;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Oct 2017 14:03:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-processor-like-GetFile-can-t-get-files-with-nam-filenam/m-p/207549#M69006</guid>
      <dc:creator>salome_tkhilais</dc:creator>
      <dc:date>2017-10-05T14:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi:processor like GetFile can't get files with nam “.filenam.xml”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-processor-like-GetFile-can-t-get-files-with-nam-filenam/m-p/207550#M69007</link>
      <description>&lt;P&gt;I'm not sure what your custom GetFile does, but the existing GetFile has an option of whether to "Keep Source File", which defaults to false. When set to false, the file will be deleted from the file system once it has been processed by GetFile. If set to true, the source file will remain and thus will be processed again when the GetFile processor is triggered to run again. In your custom processor you may want to support this same behavior for your use case.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 01:07:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-processor-like-GetFile-can-t-get-files-with-nam-filenam/m-p/207550#M69007</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2017-10-06T01:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi:processor like GetFile can't get files with nam “.filenam.xml”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-processor-like-GetFile-can-t-get-files-with-nam-filenam/m-p/207551#M69008</link>
      <description>&lt;P&gt;I   have set  keep  source  file to  false  i have relative    logic in my   processors   but  when  i get flowfile  from folder  i want  to  update  it's data  and  then  route it  back  to same  folder  but  when i  try  to make  this  i mean  putting i root  folder  it saves   file i this  forma  '.filename.xml"  how can i   prevent doing  this?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:25:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-processor-like-GetFile-can-t-get-files-with-nam-filenam/m-p/207551#M69008</guid>
      <dc:creator>salome_tkhilais</dc:creator>
      <dc:date>2017-10-06T12:25:13Z</dc:date>
    </item>
  </channel>
</rss>

