<?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: How to read multiple files one by one in talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279734#M54805</link>
    <description>To me, my job should work as expected, the file path of tFileCopy is the same as tFileInputMspositional, 
&lt;BR /&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))
&lt;BR /&gt;
&lt;BR /&gt;Can you confirm it?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
    <pubDate>Tue, 07 Apr 2020 02:39:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-07T02:39:58Z</dc:date>
    <item>
      <title>How to read multiple files one by one in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279730#M54801</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have multiple .txt files in one folder. I want to read one file at a time and then move that file to a different folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using tfilelist---&amp;gt;iterate--&amp;gt;tfileInputMSPositional--&amp;gt;tfileOutputMSpositional .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At tfilelist--&amp;gt;iterate --&amp;gt;tfilecopy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my current scenario all the files present in the source directory are read and processed to form the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But my requirement is to first read only 1st file from the folder then convert into a required output file and then move it to another folder.&lt;/P&gt;
&lt;P&gt;After this the new file will be read from the source directory and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help resolve this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 10:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279730#M54801</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-04-02T10:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple files one by one in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279731#M54802</link>
      <description>Hi 
&lt;BR /&gt;Change the job design to:
&lt;BR /&gt;tfilelist---&amp;gt;iterate--&amp;gt;tfileInputMSPositional--&amp;gt;tfileOutputMSpositional-oncomponentOK--tFileCopy
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 02 Apr 2020 10:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279731#M54802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-02T10:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple files one by one in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279732#M54803</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for the reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried as you mentioned above, but it is reading all the files and creating an output but only 1 file(current filepath) is removed from the source location and getting stored in the another(completed) folder.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Instead i want to only read one file from the source folder --&amp;gt; create an output and then store that input file in "completed" folder. This should be done in loop so once this execution is finished, tfilelist will read the 2nd file process it and and will store it in "completed" folder.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Basic settings for tfileInputMSpositional--&amp;gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Basic settings for tfilecopy also remains same for the filename only the directory changes.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 11:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279732#M54803</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-04-02T11:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple files one by one in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279733#M54804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please provide your inputs on this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 12:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279733#M54804</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-04-06T12:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to read multiple files one by one in talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279734#M54805</link>
      <description>To me, my job should work as expected, the file path of tFileCopy is the same as tFileInputMspositional, 
&lt;BR /&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))
&lt;BR /&gt;
&lt;BR /&gt;Can you confirm it?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 07 Apr 2020 02:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-multiple-files-one-by-one-in-talend/m-p/2279734#M54805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-07T02:39:58Z</dc:date>
    </item>
  </channel>
</rss>

