<?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 Loading Multiple csv file from amazon s3 bucket in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2080956#M12359</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to pull data from the Amazon S3 bucket, and the path is ibv2-live\activity\server1\,&lt;/P&gt;
&lt;P&gt;there are multiple CSV files in this path with prefix activity,&lt;/P&gt;
&lt;P&gt;Could you please help me with a script to load this?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 07:55:39 GMT</pubDate>
    <dc:creator>Dataguy46</dc:creator>
    <dc:date>2023-06-07T07:55:39Z</dc:date>
    <item>
      <title>Loading Multiple csv file from amazon s3 bucket</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2080956#M12359</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to pull data from the Amazon S3 bucket, and the path is ibv2-live\activity\server1\,&lt;/P&gt;
&lt;P&gt;there are multiple CSV files in this path with prefix activity,&lt;/P&gt;
&lt;P&gt;Could you please help me with a script to load this?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2080956#M12359</guid>
      <dc:creator>Dataguy46</dc:creator>
      <dc:date>2023-06-07T07:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple csv file from amazon s3 bucket</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2083360#M12370</link>
      <description>&lt;P&gt;The best way to make this work without doing loops is to do to the Data Editor.&amp;nbsp; In there, you should connect to your S3 bucket.&amp;nbsp; Open the connection and navigate to the file path where the files you want to open are and select one file from the path and click "Insert Script".&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll get something like:&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;"Column 1",&lt;BR /&gt;"Column 2",&lt;BR /&gt;"Column 3"&lt;BR /&gt;FROM [lib://&amp;lt;SPACE&amp;gt;:&amp;lt;BUCKET&amp;gt;/&amp;lt;FOLDER&amp;gt;/&amp;lt;FOLDER&amp;gt;/&amp;lt;FILENAME&amp;gt;.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;Change the columns listed to LOAD * and remove all of the &amp;lt;FILENAME&amp;gt; portion with the extension and leave the last line of code.&amp;nbsp; That way you end up with something like this:&lt;/P&gt;
&lt;P&gt;LOAD * FROM [lib://&amp;lt;SPACE&amp;gt;:&amp;lt;BUCKET&amp;gt;/&amp;lt;FOLDER&amp;gt;/&amp;lt;FOLDER1&amp;gt;/]&lt;/P&gt;
&lt;P&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;That will pull all of the files.&lt;/P&gt;
&lt;P&gt;Also for security it would be wise to not share your actual S3 bucket name and file path in questions.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 16:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2083360#M12370</guid>
      <dc:creator>datadiva</dc:creator>
      <dc:date>2023-06-13T16:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple csv file from amazon s3 bucket</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2507429#M14638</link>
      <description>&lt;P&gt;Hi datadiva, I have used the same approach and excluded the filenames from the path, so that it only points to the folder that has the csv files in it. However, I am getting a badFileSize error, this is my query:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;BR /&gt;UM_USER_NAME as USERID,&lt;BR /&gt;Combo_ID&lt;BR /&gt;FROM [lib://Amazon_S3/qa/&amp;lt;S3&amp;gt;/&amp;lt;Folder&amp;gt;/&amp;lt;Folder 1&amp;gt;/&amp;lt;Folder 2&amp;gt;/&amp;lt;Folder 3&amp;gt;/&amp;lt;Folder 4&amp;gt;/]&lt;/P&gt;
&lt;P&gt;Inside folder 4 all of my csv files will be present.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help me with this?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 15:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2507429#M14638</guid>
      <dc:creator>Charvick</dc:creator>
      <dc:date>2025-02-26T15:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple csv file from amazon s3 bucket</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2507572#M14642</link>
      <description>&lt;P&gt;Hello Charvick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that this method works only if your files have same schemas.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 10:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2507572#M14642</guid>
      <dc:creator>Dataguy46</dc:creator>
      <dc:date>2025-02-27T10:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple csv file from amazon s3 bucket</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2508926#M14674</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/228384"&gt;@Charvick&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Please use this script to load the&amp;nbsp; multiple files from web connectors.&lt;/P&gt;
&lt;P&gt;// Manually define the list of file names&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for each vFile in [add Filenames here] ex:'Backup_Jobs_Report_2025-01-09.csv','xxxx.csv','yyyy.csv'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Load the data from each specified file&lt;/P&gt;
&lt;P&gt;BackupJobs:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [Lib path/foldername/$(vFile)]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;next vFile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Multiple-csv-file-from-amazon-s3-bucket/m-p/2508926#M14674</guid>
      <dc:creator>swarnapavani</dc:creator>
      <dc:date>2025-03-10T07:11:32Z</dc:date>
    </item>
  </channel>
</rss>

