<?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 Re: How does nifi delay scanning the files on the ftp server, thank you in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334363#M231732</link>
    <description>&lt;P&gt;In response to your queries :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1,do you konw how to add&amp;nbsp;"Minimum File Age" property in listftp processor ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ans : Not supported , as ListFTP or SFTP&amp;nbsp;&amp;nbsp;works on last modified timestamp to pick newly modified files since it ran before. So, if a file is added with older last modified timestamp than the one which Listftp already picked, then the file won't be picked with listftp logic.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;&amp;nbsp;listsftp can connect ftp server ?&amp;nbsp; i try ,but failed&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ans : Use ListFTP is FTP server is not secure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. What is the difference between listftp and listsftp?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We have two type of FTP servers, FTP and SFTP ,&amp;nbsp;&lt;SPAN&gt;SFTP uses a secure channel to transfer files while FTP doesn't, thus NiFi has FTP and SFTP processors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To address your use case "file may be update anytime,&amp;nbsp; so i need the "Minimum File Age" property like listsftp processor get"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ans : You need to change/update the logic on how files written&amp;nbsp;at FTP server , If the same files getting updated/appended&amp;nbsp;multiple time assuming write is not completed yet so try to rename the file with specific name pattern after append&amp;nbsp;is completed&amp;nbsp; and only list/fetch the files which matches with rename&amp;nbsp;pattern using&amp;nbsp;File Filter Regex settings.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 11:09:17 GMT</pubDate>
    <dc:creator>ckumar</dc:creator>
    <dc:date>2022-01-21T11:09:17Z</dc:date>
    <item>
      <title>How does nifi delay scanning the files on the ftp server, thank you</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334178#M231645</link>
      <description>&lt;P&gt;How does nifi delay scanning the files on the ftp server, which processor to choose,thank you&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 06:54:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334178#M231645</guid>
      <dc:creator>zhangliang</dc:creator>
      <dc:date>2022-01-19T06:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: How does nifi delay scanning the files on the ftp server, thank you</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334197#M231648</link>
      <description>&lt;P&gt;Can you please provide more details on this "delay" and why delay is needed ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;FYI: Processors can be configured to all the time 0 sec or after a certain interval example after every 60sec or at fix time with cron driven.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if&amp;nbsp; there is chance when files may not be present on ftp to be able to Fetch by NiFI : List/Fetch/GetSFTP processors , you can schedule them specific time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can help you more once you provide more details on your use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:58:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334197#M231648</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-01-19T12:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: How does nifi delay scanning the files on the ftp server, thank you</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334257#M231686</link>
      <description>&lt;P&gt;In my case, i need use listftp processor connect ftp server, the file may be update anytime,&amp;nbsp; so i need the "Minimum File Age" property like listsftp processor get the lastast file .&amp;nbsp; i have three question,&lt;/P&gt;&lt;P&gt;1,do you kow how to add&amp;nbsp;"Minimum File Age" property in listftp processor ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;2, listsftp can connect ftp server ?&amp;nbsp; i try ,but faile.&lt;/P&gt;&lt;P&gt;3,What is the difference between listftp and listsftp?&lt;/P&gt;&lt;P&gt;thinks!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 01:06:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334257#M231686</guid>
      <dc:creator>zhangliang</dc:creator>
      <dc:date>2022-01-20T01:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: How does nifi delay scanning the files on the ftp server, thank you</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334363#M231732</link>
      <description>&lt;P&gt;In response to your queries :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1,do you konw how to add&amp;nbsp;"Minimum File Age" property in listftp processor ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ans : Not supported , as ListFTP or SFTP&amp;nbsp;&amp;nbsp;works on last modified timestamp to pick newly modified files since it ran before. So, if a file is added with older last modified timestamp than the one which Listftp already picked, then the file won't be picked with listftp logic.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;&amp;nbsp;listsftp can connect ftp server ?&amp;nbsp; i try ,but failed&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ans : Use ListFTP is FTP server is not secure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. What is the difference between listftp and listsftp?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We have two type of FTP servers, FTP and SFTP ,&amp;nbsp;&lt;SPAN&gt;SFTP uses a secure channel to transfer files while FTP doesn't, thus NiFi has FTP and SFTP processors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To address your use case "file may be update anytime,&amp;nbsp; so i need the "Minimum File Age" property like listsftp processor get"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ans : You need to change/update the logic on how files written&amp;nbsp;at FTP server , If the same files getting updated/appended&amp;nbsp;multiple time assuming write is not completed yet so try to rename the file with specific name pattern after append&amp;nbsp;is completed&amp;nbsp; and only list/fetch the files which matches with rename&amp;nbsp;pattern using&amp;nbsp;File Filter Regex settings.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 11:09:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-does-nifi-delay-scanning-the-files-on-the-ftp-server/m-p/334363#M231732</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-01-21T11:09:17Z</dc:date>
    </item>
  </channel>
</rss>

