<?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 Re: Limit iteration on tfilelist in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Limit-iteration-on-tfilelist/m-p/2364618#M128337</link>
    <description>&lt;P&gt;If you select "Order by - Modified date descending" in your tFileList component, then you can then use a tSampleRow to get the first record returned which will be the most recent file.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2017 19:03:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-02T19:03:56Z</dc:date>
    <item>
      <title>Limit iteration on tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Limit-iteration-on-tfilelist/m-p/2364617#M128336</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a tfile list component that get files from an ftp directory which contains hundreds files. But i want only one file (the most recent), it is possible to limit the number of iteration of my tfilelist&amp;nbsp; to only one, instead of hundreds?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for your support&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 11:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Limit-iteration-on-tfilelist/m-p/2364617#M128336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-02T11:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Limit iteration on tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Limit-iteration-on-tfilelist/m-p/2364618#M128337</link>
      <description>&lt;P&gt;If you select "Order by - Modified date descending" in your tFileList component, then you can then use a tSampleRow to get the first record returned which will be the most recent file.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 19:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Limit-iteration-on-tfilelist/m-p/2364618#M128337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-02T19:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Limit iteration on tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Limit-iteration-on-tfilelist/m-p/2364619#M128338</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The previous answer is wrong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a similar problem and found a trick,&lt;/P&gt;&lt;P&gt;tFilelist ---- Iterate ---- tJava (nothing or logs) ---- Run if (((Integer)globalMap.get("tFileList_1_NB_FILE")) == 1) ----- tFileCopy&lt;/P&gt;&lt;P&gt;For other files, the tFileCopy is ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps somebody..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 13:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Limit-iteration-on-tfilelist/m-p/2364619#M128338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T13:06:41Z</dc:date>
    </item>
  </channel>
</rss>

