<?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 getsftp processor in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193795#M75958</link>
    <description>&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.5.0/org.apache.nifi.processors.standard.GetSFTP/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.5.0/org.apache.nifi.processors.standard.GetSFTP/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain what is write attributes in NIFI. where i can find this in getsftp processor.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 16 Mar 2018 13:32:44 GMT</pubDate>
    <dc:creator>hemamoger</dc:creator>
    <dc:date>2018-03-16T13:32:44Z</dc:date>
    <item>
      <title>Nifi getsftp processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193795#M75958</link>
      <description>&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.5.0/org.apache.nifi.processors.standard.GetSFTP/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.5.0/org.apache.nifi.processors.standard.GetSFTP/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain what is write attributes in NIFI. where i can find this in getsftp processor.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:32:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193795#M75958</guid>
      <dc:creator>hemamoger</dc:creator>
      <dc:date>2018-03-16T13:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi getsftp processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193796#M75959</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/70183/hemamoger.html" nodeid="70183" target="_blank"&gt;@hema moger&lt;/A&gt;&lt;P&gt;Write Attributes means once the processor &lt;STRONG&gt;Fetches the files from the remote path&lt;/STRONG&gt; then &lt;STRONG&gt;getsftp processor&lt;/STRONG&gt; is going to add those list of write attributes to the flowfile that got pulled from the Remote Path.&lt;/P&gt;&lt;H3 id="toc-hId-1427846568"&gt;Writes Attributes:&lt;/H3&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH&gt;Name&lt;/TH&gt;&lt;TH&gt;Description&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;filename&lt;/TD&gt;&lt;TD&gt;The filename is set to the name of the file on the remote server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;path&lt;/TD&gt;&lt;TD&gt;The path is set to the path of the file's directory on the remote server. For example, if the &amp;lt;Remote Path&amp;gt; property is set to /tmp, files picked up from /tmp will have the path attribute set to /tmp. If the &amp;lt;Search Recursively&amp;gt; property is set to true and a file is picked up from /tmp/abc/1/2/3, then the path attribute will be set to /tmp/abc/1/2/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;file.lastModifiedTime&lt;/TD&gt;&lt;TD&gt;The date and time that the source file was last modified&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;file.owner&lt;/TD&gt;&lt;TD&gt;The numeric owner id of the source file&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;file.group&lt;/TD&gt;&lt;TD&gt;The numeric group id of the source file&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;file.permissions&lt;/TD&gt;&lt;TD&gt;The read/write/execute permissions of the source file&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;absolute.path&lt;/TD&gt;&lt;TD&gt;The full/absolute path from where a file was picked up. The current 'path' attribute is still populated, but may be a relative path&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Example:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have configured getsftp processor and &lt;STRONG&gt;fetched a file&lt;/STRONG&gt; from the remote path, if i do &lt;STRONG&gt;list queue&lt;/STRONG&gt; (or) Data provenance in get sftp processor and click on little &lt;STRONG&gt;i icon&lt;/STRONG&gt; at the top left corner of the flowfile then we are going to have &lt;STRONG&gt;Details, Attributes&lt;/STRONG&gt; tab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="62939-view-queue.png" style="width: 1627px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18168iF31BE56CD62FA496/image-size/medium?v=v2&amp;amp;px=400" role="button" title="62939-view-queue.png" alt="62939-view-queue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Go to &lt;STRONG&gt;Attributes tab&lt;/STRONG&gt; then you are going to see all the attributes that are listed above will be &lt;STRONG&gt;added to the flowfile&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="62940-getsftp.png" style="width: 880px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18169i17A843C792CB21A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="62940-getsftp.png" alt="62940-getsftp.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can view from the above screenshot we got &lt;STRONG&gt;absolute.path,path&lt;/STRONG&gt;... attributes added to the flowfile by getsftp processor.&lt;/P&gt;&lt;P&gt;We can use those attributes by using expression language &lt;STRONG&gt;${absolute.path}&lt;/STRONG&gt; for our purposes.&lt;/P&gt;&lt;P&gt;.&lt;BR /&gt;If the Answer addressed your question, &lt;STRONG&gt;Click on Accept button below to accept the answer&lt;/STRONG&gt;, That would be great help to Community users to find solution quickly for these kind of issues.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:56:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193796#M75959</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T06:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi getsftp processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193797#M75960</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;This we will get once its successfully imported data from getsftp , then only we can view rite?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="62941-data-provenance.png" style="width: 1366px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18167i49F4DD4A6904C137/image-size/medium?v=v2&amp;amp;px=400" role="button" title="62941-data-provenance.png" alt="62941-data-provenance.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:56:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193797#M75960</guid>
      <dc:creator>hemamoger</dc:creator>
      <dc:date>2019-08-18T06:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi getsftp processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193798#M75961</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70183/hemamoger.html" nodeid="70183"&gt;@hema moger&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, you are right.&lt;BR /&gt;Once you successfully fetch any file from sftp server then data provenance will be updated accordingly.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 19:55:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-getsftp-processor/m-p/193798#M75961</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-03-16T19:55:23Z</dc:date>
    </item>
  </channel>
</rss>

