<?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 tFileList to loop in all subfolder? Is it possible? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileList-to-loop-in-all-subfolder-Is-it-possible/m-p/2356085#M121693</link>
    <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I'm trying to get every single file inside all my subfolder. Es&lt;/P&gt;&lt;P&gt;I have my "main" folder at path:&lt;/P&gt;&lt;P&gt;\\192.168.1.1\\FolderWithFoldersInside\\&lt;/P&gt;&lt;P&gt;Inside this folder i have 4 folders like:&lt;/P&gt;&lt;P&gt;folder1&lt;/P&gt;&lt;P&gt;folder2&lt;/P&gt;&lt;P&gt;folder3&lt;/P&gt;&lt;P&gt;folder4&lt;/P&gt;&lt;P&gt;And inside every folderX i have 0...n .txt files, and i need to get all of them.&lt;/P&gt;&lt;P&gt;I would like to make a job to access all files and i'm 100% sure i'm gonna do it with tFileList.&lt;/P&gt;&lt;P&gt;I tried to use 2 tFileList&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H83oDAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130286iDA4525225C52128C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H83oDAAR.png" alt="0695b00000H83oDAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the second one&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H83p1AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153489iFFC662A013CE4F3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H83p1AAB.png" alt="0695b00000H83p1AAB.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Inside tJava_1 there's only System.out.println((String)globalMap.get("tFileList_2_CURRENT_FILE"));)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It always gives me no result so i'm probably doing something wrong (btw i couldn't find any example on how to use tFileList and get folders and stuff)&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jul 2021 10:31:15 GMT</pubDate>
    <dc:creator>andreasignori</dc:creator>
    <dc:date>2021-07-21T10:31:15Z</dc:date>
    <item>
      <title>tFileList to loop in all subfolder? Is it possible?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-to-loop-in-all-subfolder-Is-it-possible/m-p/2356085#M121693</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I'm trying to get every single file inside all my subfolder. Es&lt;/P&gt;&lt;P&gt;I have my "main" folder at path:&lt;/P&gt;&lt;P&gt;\\192.168.1.1\\FolderWithFoldersInside\\&lt;/P&gt;&lt;P&gt;Inside this folder i have 4 folders like:&lt;/P&gt;&lt;P&gt;folder1&lt;/P&gt;&lt;P&gt;folder2&lt;/P&gt;&lt;P&gt;folder3&lt;/P&gt;&lt;P&gt;folder4&lt;/P&gt;&lt;P&gt;And inside every folderX i have 0...n .txt files, and i need to get all of them.&lt;/P&gt;&lt;P&gt;I would like to make a job to access all files and i'm 100% sure i'm gonna do it with tFileList.&lt;/P&gt;&lt;P&gt;I tried to use 2 tFileList&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H83oDAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130286iDA4525225C52128C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H83oDAAR.png" alt="0695b00000H83oDAAR.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the second one&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000H83p1AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153489iFFC662A013CE4F3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000H83p1AAB.png" alt="0695b00000H83p1AAB.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Inside tJava_1 there's only System.out.println((String)globalMap.get("tFileList_2_CURRENT_FILE"));)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It always gives me no result so i'm probably doing something wrong (btw i couldn't find any example on how to use tFileList and get folders and stuff)&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 10:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-to-loop-in-all-subfolder-Is-it-possible/m-p/2356085#M121693</guid>
      <dc:creator>andreasignori</dc:creator>
      <dc:date>2021-07-21T10:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: tFileList to loop in all subfolder? Is it possible?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-to-loop-in-all-subfolder-Is-it-possible/m-p/2356086#M121694</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Directory :the path of your main directory&lt;/P&gt;&lt;P&gt;just use 1 tfilelist&lt;/P&gt;&lt;P&gt;with FileListType : FIles&lt;/P&gt;&lt;P&gt;include subdirectories checked &lt;/P&gt;&lt;P&gt;case sensitive : no&lt;/P&gt;&lt;P&gt;use Glob expressions as Filemask checked&lt;/P&gt;&lt;P&gt;global expresssion "*.txt"&lt;/P&gt;&lt;P&gt;iterate on a tjava&lt;/P&gt;&lt;P&gt;in the tjava&lt;/P&gt;&lt;P&gt;System.out.println((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-to-loop-in-all-subfolder-Is-it-possible/m-p/2356086#M121694</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-07-21T13:11:18Z</dc:date>
    </item>
  </channel>
</rss>

