<?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>topic Extract the most recent file from SFTP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-most-recent-file-from-SFTP/m-p/2325461#M95058</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to build a job in open studio that extract the most recent file from a SFTP&lt;/SPAN&gt;&lt;BR /&gt;Example:&lt;/P&gt; 
&lt;P&gt;global_act_201907031230.xls&lt;/P&gt; 
&lt;P&gt;global_act_201906031230.xls&lt;/P&gt; 
&lt;P&gt;global_act_201907031430.xls&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;...&lt;/P&gt; 
&lt;P&gt;I am getting the path and using it to sort the files based on the date, but I have a problem when I use this path in my tFTPGET component.&lt;/P&gt; 
&lt;P&gt;This is a print screen of my job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6F0.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155861iCF0DDE98F1F9A621/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6F0.jpg" alt="0683p000009M6F0.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 952px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M69w.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145070iC8E7F669C4FA23EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M69w.jpg" alt="0683p000009M69w.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6F5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137424iBF56B92E6888D731/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6F5.jpg" alt="0683p000009M6F5.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In my Tmap I get the date using a substring and I convert it in a number format, then I get the correct file_path in my TLogRow but the tFTPGet component is not working correctly.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M643.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131129iD4A0E19CCC18AA8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M643.jpg" alt="0683p000009M643.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TY in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:20:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T05:20:49Z</dc:date>
    <item>
      <title>Extract the most recent file from SFTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-most-recent-file-from-SFTP/m-p/2325461#M95058</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to build a job in open studio that extract the most recent file from a SFTP&lt;/SPAN&gt;&lt;BR /&gt;Example:&lt;/P&gt; 
&lt;P&gt;global_act_201907031230.xls&lt;/P&gt; 
&lt;P&gt;global_act_201906031230.xls&lt;/P&gt; 
&lt;P&gt;global_act_201907031430.xls&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;...&lt;/P&gt; 
&lt;P&gt;I am getting the path and using it to sort the files based on the date, but I have a problem when I use this path in my tFTPGET component.&lt;/P&gt; 
&lt;P&gt;This is a print screen of my job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6F0.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155861iCF0DDE98F1F9A621/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6F0.jpg" alt="0683p000009M6F0.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 952px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M69w.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145070iC8E7F669C4FA23EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M69w.jpg" alt="0683p000009M69w.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6F5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137424iBF56B92E6888D731/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6F5.jpg" alt="0683p000009M6F5.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In my Tmap I get the date using a substring and I convert it in a number format, then I get the correct file_path in my TLogRow but the tFTPGet component is not working correctly.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M643.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131129iD4A0E19CCC18AA8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M643.jpg" alt="0683p000009M643.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TY in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-the-most-recent-file-from-SFTP/m-p/2325461#M95058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extract the most recent file from SFTP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-the-most-recent-file-from-SFTP/m-p/2325462#M95059</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; The job is saying that its having Null pointer exception at tFTPGet component. I would recommend you to print all the variables used in tFTPGet and see whether you are getting right data. Also do you want to iteratively do the tFTPGet process or are you sure you want to use main flow to connect to tFTPGet?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Please check the details and if the error persists, could you please provide more details for above areas.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 14:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-the-most-recent-file-from-SFTP/m-p/2325462#M95059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-09T14:54:46Z</dc:date>
    </item>
  </channel>
</rss>

