<?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: List all files from S3 bucket in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225760#M17923</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the key prefix, provide only the path till the folder you want to list out the files from or till root folder in case you want to list out each and every file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, to print the filenames, you can use tJava component and type: &lt;STRONG&gt;System.out.println(((String)globalMap.get("tS3List_1_CURRENT_KEY")))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This will list out all the keys from tS3List.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Components:&lt;/P&gt;
&lt;P&gt;tS3List-----(iterate)----&amp;gt;tJava&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bhagwat&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Don't forget to give kudos and accept the reply as solution if it helps.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 06:53:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-20T06:53:45Z</dc:date>
    <item>
      <title>List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225758#M17921</link>
      <description>&lt;P&gt;I need to read all files from Following S3 bucket:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://s3.console.aws.amazon.com/s3/buckets/oes-datalake-prod/?region=ap-southeast-2&amp;amp;tab=overview" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;prod&lt;/A&gt;&lt;SPAN class="breadcrumb-path-separator ng-scope"&gt;/&lt;/SPAN&gt;&lt;A href="https://s3.console.aws.amazon.com/s3/buckets/oes-datalake-prod/input/?region=ap-southeast-2&amp;amp;tab=overview" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;input&lt;/A&gt;&lt;SPAN class="breadcrumb-path-separator ng-scope"&gt;/&lt;/SPAN&gt;&lt;A href="https://s3.console.aws.amazon.com/s3/buckets/oes-datalake-prod/input/dwh_input_files/?region=ap-southeast-2&amp;amp;tab=overview" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;dwh_input_files&lt;/A&gt;&lt;SPAN class="breadcrumb-path-separator ng-scope"&gt;/&lt;/SPAN&gt;&lt;A href="https://s3.console.aws.amazon.com/s3/buckets/oes-datalake-prod/input/dwh_input_files/Showcause_Atrisk_Data/?region=ap-southeast-2&amp;amp;tab=overview" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Showcause_Atrisk_Data&lt;/A&gt;&lt;SPAN class="breadcrumb-path-separator ng-scope"&gt;/&lt;/SPAN&gt;&lt;A href="https://s3.console.aws.amazon.com/s3/#" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Delta&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Files in this bucket are:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Showcause 2.xlsx&lt;/P&gt; 
&lt;P&gt;Showcause 1.xlsx&lt;/P&gt; 
&lt;P&gt;Risk.xlsx&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I know is we can't use '*' to read all files. We need to have proper combination of key and file name.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My job is designed like this:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-20 at 5.32.51 pm.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7qz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155624i243E0F966A94FD03/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7qz.png" alt="0683p000009M7qz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Properties of ts3List is as below:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-20 at 5.34.16 pm.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M820.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152923i2D6F5C5797FDBFC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M820.png" alt="0683p000009M820.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Titeratetoflow properties are as below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-20 at 5.35.01 pm.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8PB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130824i88468F4DEF58E629/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8PB.png" alt="0683p000009M8PB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Not sure what I am doing wrong. It's only printing last file for showcause. This is issue 1 and another issue is: Is it possible to list all files together ie Showcause_* and Risk_* related files?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Harshal.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225758#M17921</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2024-11-16T03:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225759#M17922</link>
      <description>You didn't show what you actually get as the result. However, as tJava component starts 1rst and only once for the subjob, replace it by tJavaRow or tJavaFlex in order to print all incoming values.
&lt;BR /&gt;For the 2nd point, did you try to add lines in the array bucket names/keys.</description>
      <pubDate>Fri, 20 Dec 2019 06:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225759#M17922</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-12-20T06:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225760#M17923</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the key prefix, provide only the path till the folder you want to list out the files from or till root folder in case you want to list out each and every file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, to print the filenames, you can use tJava component and type: &lt;STRONG&gt;System.out.println(((String)globalMap.get("tS3List_1_CURRENT_KEY")))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This will list out all the keys from tS3List.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Components:&lt;/P&gt;
&lt;P&gt;tS3List-----(iterate)----&amp;gt;tJava&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bhagwat&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Don't forget to give kudos and accept the reply as solution if it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 06:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225760#M17923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-20T06:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225761#M17924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Tjava only prints Showcause2.xlsx which is second file of showcause.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Does not print anything else. Yes you are correct. When I try tlogrow it prints 2 objects which is good but the problem exists at tS3get where I am getting only second file for Showcause. Not sure what's wrong in there.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is the config inside tS3get compoent:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-20 at 7.03.07 pm.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8OJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156836i560D15DD0F0367F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8OJ.png" alt="0683p000009M8OJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For the second ques: No I did not try using array bucket names. How can you do that?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225761#M17924</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2019-12-20T08:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225762#M17925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why don't you try using&amp;nbsp;&lt;STRONG&gt;tS3List&lt;/STRONG&gt; component? And then proceed further with the steps I mentioned.&lt;/P&gt;&lt;P&gt;Try this and let me know if it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhagwat&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225762#M17925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-20T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225763#M17926</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQVIAA4"&gt;@bhagwatn&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes that gives me all file names which I require. Which is awesome. Now I want to get these files locally. So what should be config of tS3get and should I use titeratetoflow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help so far!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Harshal.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 09:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225763#M17926</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2019-12-20T09:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225764#M17927</link>
      <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LQVIAA4"&gt;@bhagwatn&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;How do I get the files into local now?
&lt;BR /&gt;
&lt;BR /&gt;Can you please guide?
&lt;BR /&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Harshal.</description>
      <pubDate>Fri, 20 Dec 2019 18:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225764#M17927</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2019-12-20T18:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: List all files from S3 bucket</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225765#M17928</link>
      <description>&lt;P&gt;I resolved this by designing the flow like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tS3filelist&amp;nbsp; ---&amp;gt; (Iterate) tS3get.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 19:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-all-files-from-S3-bucket/m-p/2225765#M17928</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2019-12-20T19:34:56Z</dc:date>
    </item>
  </channel>
</rss>

