<?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: about getsftp processor's attributes in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242784#M204583</link>
    <description>&lt;P&gt;Oh that worked. Thank you!&lt;/P&gt;&lt;P&gt;I thought that only writes attributes which apear in the processor documentation are accessable. How can i find each processor accessable attributes?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 14:25:51 GMT</pubDate>
    <dc:creator>yjohn9691</dc:creator>
    <dc:date>2019-01-23T14:25:51Z</dc:date>
    <item>
      <title>about getsftp processor's attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242782#M204581</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;I need to pull files from linux server, so at first i used listFile and fetchFile processors.&lt;BR /&gt;The files are being writing and when they are done, nifi need to pull them.&lt;BR /&gt;Unfotunatly, listFile timestamp already list the file but fetchFile did not pull them because they are still being writing (i added &lt;BR /&gt;last modified limitation). so the files left in the server. &lt;BR /&gt;To solve this problem, i started using getSftp which is really good, but it does not include file size attribute.&lt;BR /&gt;I can see the file size at DETAILS tab in the flowFile but cant access it.&lt;BR /&gt;Do you have any suggestion?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 05:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242782#M204581</guid>
      <dc:creator>yjohn9691</dc:creator>
      <dc:date>2019-01-23T05:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: about getsftp processor's attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242783#M204582</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/103275/yjohn9691.html" nodeid="103275"&gt;@john y&lt;/A&gt;&lt;P&gt;We can directly access &lt;STRONG&gt;filesize&lt;/STRONG&gt; with &lt;/P&gt;&lt;PRE&gt;${fileSize} &lt;/PRE&gt;&lt;P&gt;and this attribute expression will result the actual filesize value of flowfile.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 09:52:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242783#M204582</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-01-23T09:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: about getsftp processor's attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242784#M204583</link>
      <description>&lt;P&gt;Oh that worked. Thank you!&lt;/P&gt;&lt;P&gt;I thought that only writes attributes which apear in the processor documentation are accessable. How can i find each processor accessable attributes?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 14:25:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242784#M204583</guid>
      <dc:creator>yjohn9691</dc:creator>
      <dc:date>2019-01-23T14:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: about getsftp processor's attributes</title>
      <link>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242785#M204584</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/103275/yjohn9691.html" nodeid="103275"&gt;@john y&lt;/A&gt; &lt;/P&gt;&lt;P&gt;There are a core set of attributes that will exist on all FlowFiles:&lt;/P&gt;&lt;P&gt;1. entryDate&lt;BR /&gt;2.  lineageStartDate&lt;/P&gt;&lt;P&gt;3.  fileSize&lt;/P&gt;&lt;P&gt;4. uuid&lt;/P&gt;&lt;P&gt;5. filename&lt;/P&gt;&lt;P&gt;6. path&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;The first four cannot be changed by users. &lt;BR /&gt;filename and path can have their values edited by users via something like UpdateAttribute processor.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;You can insert a logAttribute processor anywhere in your flow to output the key/value attribute map for FlowFiles that pass through it to the nifi-app.log.  Just keep in mind that leaving this processor in your flow will result in potentially a lot of log output.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 23:06:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/about-getsftp-processor-s-attributes/m-p/242785#M204584</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-01-23T23:06:49Z</dc:date>
    </item>
  </channel>
</rss>

