<?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: Reading multiple files one by one in talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reading-multiple-files-one-by-one-in-talend/m-p/2518388#M147582</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;When you say : &lt;EM&gt;"for 2 files, it is looping 3 times, for 3 files, it is looping 6 times and so on..&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Basically i am not getting how to delete/archive the file after it has read and POSTED the file to an API."&lt;/EM&gt;&lt;BR /&gt;Does it mean one file is "treated" 2 times in the loop ? &lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Denis&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 17:56:09 GMT</pubDate>
    <dc:creator>Denis_Segard</dc:creator>
    <dc:date>2025-05-20T17:56:09Z</dc:date>
    <item>
      <title>Reading multiple files one by one in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-multiple-files-one-by-one-in-talend/m-p/2518361#M147580</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a scenario, i have to read&amp;nbsp;multiple files one by one through a Talend Studio job and POST to an API.&lt;/P&gt;&lt;P&gt;So read the 1st file , POST to API and then delete/archive the file, then read the second file,&amp;nbsp;POST to an API. and&amp;nbsp;delete/archive the file and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have designed a job to generate json files in a folder which is working fine. Now, when i try to loop the files, it is posting incorrect result to API as its not looping correctly. for 2 files, it is looping 3 times, for 3 files, it is looping 6 times and so on..&lt;/P&gt;&lt;P&gt;Basically i am not getting how to delete/archive the file after it has read and POSTED the file to an API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my job design is :&lt;/P&gt;&lt;P&gt;tFilelist(List of files)--&amp;gt;tInputRaw--&amp;gt;tlogrow--&amp;gt;tFlowiterate--&amp;gt;tRest--&amp;gt;tLogrow--&amp;gt;on component ok--&amp;gt;tFileCopy&lt;/P&gt;&lt;P&gt;but tFilecopy is not working. Can someone please help?&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 14:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-multiple-files-one-by-one-in-talend/m-p/2518361#M147580</guid>
      <dc:creator>sushantkapoor19</dc:creator>
      <dc:date>2025-05-20T14:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reading multiple files one by one in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-multiple-files-one-by-one-in-talend/m-p/2518388#M147582</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;When you say : &lt;EM&gt;"for 2 files, it is looping 3 times, for 3 files, it is looping 6 times and so on..&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Basically i am not getting how to delete/archive the file after it has read and POSTED the file to an API."&lt;/EM&gt;&lt;BR /&gt;Does it mean one file is "treated" 2 times in the loop ? &lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Denis&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 17:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-multiple-files-one-by-one-in-talend/m-p/2518388#M147582</guid>
      <dc:creator>Denis_Segard</dc:creator>
      <dc:date>2025-05-20T17:56:09Z</dc:date>
    </item>
  </channel>
</rss>

