<?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: RouteOnAttribute to FetchFile: Ignore the flowFile in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/RouteOnAttribute-to-FetchFile-Ignore-the-flowFile/m-p/385276#M245670</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106206"&gt;@manishg&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The FetchFile processor fetches the content of the target file and inserts its content into the FlowFile that triggered the Fetch.&amp;nbsp; That FlowFiles is then passed on to the next processor.&amp;nbsp; So whatever is set as the "filename" attribute on the FlowFile will remain the filename even after fetching the content.&amp;nbsp; Without the specific on the rest of your dataflows configuration, it is hard to provide any additional input on your issue.&lt;BR /&gt;&lt;BR /&gt;My guess here is that the putSFTP processor is writing the content of the fetched file to the target SFTP server location; however, its filename is not that of the fetched file.&amp;nbsp; If this is the case, you have a datafow design issue and need to check your configurations to make sure the filename attribute is being set accordingly.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 18:55:44 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-03-20T18:55:44Z</dc:date>
    <item>
      <title>RouteOnAttribute to FetchFile: Ignore the flowFile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/RouteOnAttribute-to-FetchFile-Ignore-the-flowFile/m-p/385243#M245663</link>
      <description>&lt;P&gt;I have a flow usecase wherein I use RouteOnAttribute to route to FetchFile.&lt;/P&gt;&lt;P&gt;FetchFile processor is then supposed to read a file from a directory and send it to PutSFTP processor.&lt;/P&gt;&lt;P&gt;But I observe that file routed from&amp;nbsp;RouteOnAttribute to&amp;nbsp;FetchFile is what is forwarded to&amp;nbsp;PutSFTP.&lt;/P&gt;&lt;P&gt;What I want is that FetchFile forwards that file to PutSFTP that it reads from directory.&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 11:09:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/RouteOnAttribute-to-FetchFile-Ignore-the-flowFile/m-p/385243#M245663</guid>
      <dc:creator>manishg</dc:creator>
      <dc:date>2024-03-20T11:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: RouteOnAttribute to FetchFile: Ignore the flowFile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/RouteOnAttribute-to-FetchFile-Ignore-the-flowFile/m-p/385276#M245670</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106206"&gt;@manishg&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The FetchFile processor fetches the content of the target file and inserts its content into the FlowFile that triggered the Fetch.&amp;nbsp; That FlowFiles is then passed on to the next processor.&amp;nbsp; So whatever is set as the "filename" attribute on the FlowFile will remain the filename even after fetching the content.&amp;nbsp; Without the specific on the rest of your dataflows configuration, it is hard to provide any additional input on your issue.&lt;BR /&gt;&lt;BR /&gt;My guess here is that the putSFTP processor is writing the content of the fetched file to the target SFTP server location; however, its filename is not that of the fetched file.&amp;nbsp; If this is the case, you have a datafow design issue and need to check your configurations to make sure the filename attribute is being set accordingly.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 18:55:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/RouteOnAttribute-to-FetchFile-Ignore-the-flowFile/m-p/385276#M245670</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-03-20T18:55:44Z</dc:date>
    </item>
  </channel>
</rss>

