<?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: Trigger GetSFTP processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236064#M197877</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Actually there is no password. Username is ec2-user. I am able to connect to the server using Filezilla. I did not enter any password when I connected using Filezilla. Just username and it worked. But I imported the pem file.&lt;/P&gt;&lt;P&gt;I also created password for my ec2 instance and tried. Still no luck. &lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2019 09:01:55 GMT</pubDate>
    <dc:creator>shailuk</dc:creator>
    <dc:date>2019-07-29T09:01:55Z</dc:date>
    <item>
      <title>Trigger GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236060#M197873</link>
      <description>&lt;P&gt;I am using GetSFTP processor to get files from Filezilla and PutFile processor to move the file to a directory in my local&lt;/P&gt;
&lt;P&gt;machine.&lt;/P&gt;
&lt;P&gt;Is there a way to trigger GetSFTP processor every time a new file is uploaded.?&lt;/P&gt;
&lt;P&gt;I am trying to create a flow where - every time a new file is uploaded to the server I want it automatically downloaded to my local machine. Can this be done using nifi.?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 05:45:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236060#M197873</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-27T05:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236061#M197874</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44210/nshaileshkrishna92.html" nodeid="44210" target="_blank"&gt;@Shailuk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Schedule &lt;STRONG&gt;GetSFtp&lt;/STRONG&gt; processor to run on Primary node with Run Schedule as 0 Sec then processor will try to run everypossible sec and pulls the file from configured directory.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;**NOTE**&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if we don't delete the file from the path then GetSFTP processor will pull the same file again and again because GetSFTP processor doesn't store the state.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109956-screen-shot-2019-07-22-at-103139-pm.png" style="width: 1558px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14464i92704AA0FC5DE5AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109956-screen-shot-2019-07-22-at-103139-pm.png" alt="109956-screen-shot-2019-07-22-at-103139-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Correct Approach:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Use &lt;A rel="noopener noreferrer noopener noreferrer nofollow noopener noreferrer" href="https://pierrevillard.com/2018/10/29/nifi-1-8-revolutionizing-the-list-fetch-pattern-and-more/" target="_blank"&gt;&lt;STRONG&gt;ListSFTP + FetchSFTP&lt;/STRONG&gt;&lt;/A&gt; processors and configure &lt;STRONG&gt;ListSFTP&lt;/STRONG&gt; processor to run on &lt;STRONG&gt;primary node&lt;/STRONG&gt; with&lt;STRONG&gt; Run schedule as 0&lt;/STRONG&gt; sec and this processor stores the state and runs incrementally by listing out only the newly added files in the directory.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FetchSFTP&lt;/STRONG&gt; processor fetches the files from the directory and then use &lt;STRONG&gt;PutFile&lt;/STRONG&gt; processor to store the files into Local machine.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:41:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236061#M197874</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-17T23:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236062#M197875</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929" target="_blank"&gt;@Shu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am able to connect to the server using Filezilla but unable to connect using &lt;STRONG&gt;ListSFTP&lt;/STRONG&gt; processor. I get this error - &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="110034-ss-1.jpg" style="width: 1412px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14460i3458D52C1BAE1A44/image-size/medium?v=v2&amp;amp;px=400" role="button" title="110034-ss-1.jpg" alt="110034-ss-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here are my configurations - &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="110026-ss-2.jpg" style="width: 1524px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14461iEA7491D4294A1FA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="110026-ss-2.jpg" alt="110026-ss-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="110027-ss-3.jpg" style="width: 1518px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14462iAF0A04E956CCEF29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="110027-ss-3.jpg" alt="110027-ss-3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="110051-ss-4.jpg" style="width: 1486px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14463i16DB0A53E967A805/image-size/medium?v=v2&amp;amp;px=400" role="button" title="110051-ss-4.jpg" alt="110051-ss-4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it because &lt;STRONG&gt;Private Key Property&lt;/STRONG&gt; is blank.? If yes, can you please tell what has to be done. The pem file is in my desktop (local machine). I gave the path to it but it says it invalid. &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:41:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236062#M197875</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-17T23:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236063#M197876</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44210/nshaileshkrishna92.html" nodeid="44210"&gt;@Shailuk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could you give password in ListSFTP processor and then try to run the processor again?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 10:32:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236063#M197876</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-07-25T10:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236064#M197877</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Actually there is no password. Username is ec2-user. I am able to connect to the server using Filezilla. I did not enter any password when I connected using Filezilla. Just username and it worked. But I imported the pem file.&lt;/P&gt;&lt;P&gt;I also created password for my ec2 instance and tried. Still no luck. &lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 09:01:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/236064#M197877</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-07-29T09:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/269007#M206563</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55311"&gt;@Shu_ashu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my dataflow -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1SWtSAPKxRcgAWT7ca0dytePjfwMZIpgR/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1SWtSAPKxRcgAWT7ca0dytePjfwMZIpgR/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ListSFTP processor works fine. It lists all the files in the server. But FetchSFTP doesn't work as expected. I get&amp;nbsp;&lt;STRONG&gt;comms.failure. &lt;/STRONG&gt;My ListSFTP&amp;nbsp; and FetchSFTP configurations are the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I had one more doubt - How does FetchSFTP gets its state from LISTSFTP.? Is there any additional configuration that has to be done.? I am just joining ListSFTP and FetchSFTP with relationship Success. Not doing anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 02:21:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trigger-GetSFTP-processor/m-p/269007#M206563</guid>
      <dc:creator>shailuk</dc:creator>
      <dc:date>2019-08-27T02:21:00Z</dc:date>
    </item>
  </channel>
</rss>

