<?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 List files in S3 bucket folder using wildmatch operator in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/List-files-in-S3-bucket-folder-using-wildmatch-operator/m-p/2467539#M13876</link>
    <description>&lt;P&gt;I am trying to get a list of files from an S3 bucket using string matching operations. I tried using FileList(), but it doesn't work with the S3 bucket.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;for each vFile in filelist('lib://S3Dir/'&amp;amp;'*'&amp;amp;'.qvd')&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; Load id from [vFile](qvd)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; ;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;next vFile&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Using absolute file paths works so I know it is not an issue with the connection. I found some Qlik forum articles discussing the use of tS3List, which seems to be a Talend data integration function that I cannot use it in Qlik load editor.&lt;/P&gt;
&lt;P&gt;As a Qlik SaaS developer, how do I get this list of files from the S3 bucket using string matching operations or regex in the data load editor?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 09:41:31 GMT</pubDate>
    <dc:creator>prayner</dc:creator>
    <dc:date>2024-07-03T09:41:31Z</dc:date>
    <item>
      <title>List files in S3 bucket folder using wildmatch operator</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/List-files-in-S3-bucket-folder-using-wildmatch-operator/m-p/2467539#M13876</link>
      <description>&lt;P&gt;I am trying to get a list of files from an S3 bucket using string matching operations. I tried using FileList(), but it doesn't work with the S3 bucket.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;for each vFile in filelist('lib://S3Dir/'&amp;amp;'*'&amp;amp;'.qvd')&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; Load id from [vFile](qvd)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; ;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;next vFile&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Using absolute file paths works so I know it is not an issue with the connection. I found some Qlik forum articles discussing the use of tS3List, which seems to be a Talend data integration function that I cannot use it in Qlik load editor.&lt;/P&gt;
&lt;P&gt;As a Qlik SaaS developer, how do I get this list of files from the S3 bucket using string matching operations or regex in the data load editor?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 09:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/List-files-in-S3-bucket-folder-using-wildmatch-operator/m-p/2467539#M13876</guid>
      <dc:creator>prayner</dc:creator>
      <dc:date>2024-07-03T09:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: List files in S3 bucket folder using wildmatch operator</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/List-files-in-S3-bucket-folder-using-wildmatch-operator/m-p/2467603#M13877</link>
      <description>&lt;P&gt;Found the solution here: &lt;A href="https://community.qlik.com/t5/New-to-Qlik-Analytics/Use-of-for-files-in-Amazon-S3/td-p/1718740" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Analytics/Use-of-for-files-in-Amazon-S3/td-p/1718740&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;My final solution was:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;SUB ConcatenateFiles(table_type)&lt;/P&gt;
&lt;P&gt;for each vFile in filelist('$(vS3Dir)')&lt;/P&gt;
&lt;P&gt;IF WildMatch('$(vFile)', '*$(table_type).qvd') THEN&lt;BR /&gt;Load * from [$(vFile)](qvd)&lt;BR /&gt;;&lt;BR /&gt;END IF&lt;/P&gt;
&lt;P&gt;next vFile&lt;/P&gt;
&lt;P&gt;END SUB&lt;/P&gt;
&lt;P&gt;Call ConcatenateFiles('table_pattern');&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 11:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/List-files-in-S3-bucket-folder-using-wildmatch-operator/m-p/2467603#M13877</guid>
      <dc:creator>prayner</dc:creator>
      <dc:date>2024-07-03T11:54:34Z</dc:date>
    </item>
  </channel>
</rss>

