<?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: Fetching the file with space in filename in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235396#M24455</link>
    <description>&lt;P&gt;A regular expression match like this -&lt;/P&gt;
&lt;PRE&gt;"Test(.*)"&lt;/PRE&gt;
&lt;P&gt;would make sure that you are fetching all the files start with Test&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2018 17:26:49 GMT</pubDate>
    <dc:creator>iamabhishek</dc:creator>
    <dc:date>2018-08-23T17:26:49Z</dc:date>
    <item>
      <title>Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235389#M24448</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I want to load an excel file to database.Source File name will be like&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Test08232018.xlsx&lt;/STRONG&gt;&lt;SPAN&gt;. Name of the file followed by current date. Sometimes there will be space between Filename and data. Job has to fetch fetch the file correctly even if it having space or not having the space.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 14:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235389#M24448</guid>
      <dc:creator>Rathesh</dc:creator>
      <dc:date>2018-08-23T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235390#M24449</link>
      <description>where is your problem?
&lt;BR /&gt;fileName can contain space.
&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2018 14:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235390#M24449</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-23T14:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235391#M24450</link>
      <description>Do you want a regular expression sort of functionality to search for your files which matches your criteria and then load to database?</description>
      <pubDate>Thu, 23 Aug 2018 16:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235391#M24450</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-23T16:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235392#M24451</link>
      <description>&lt;P&gt;yes. but how to implement regular expression in the file path.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 16:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235392#M24451</guid>
      <dc:creator>Rathesh</dc:creator>
      <dc:date>2018-08-23T16:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235393#M24452</link>
      <description>&lt;P&gt;Sometimes file name contains space between name and date and sometimes it won't&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 16:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235393#M24452</guid>
      <dc:creator>Rathesh</dc:creator>
      <dc:date>2018-08-23T16:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235394#M24453</link>
      <description>use tFileList, to list all files
&lt;BR /&gt;then use Iterate on TFileInputExcel to load each file into db.
&lt;BR /&gt;Use (String)globalMap.get("tFileList1_CURRENTFILEPATH") as fileName.
&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 23 Aug 2018 17:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235394#M24453</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-23T17:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235395#M24454</link>
      <description>I have two Excel files with different schema. Both of them has tobe loaded&lt;BR /&gt;into separate tables.&lt;BR /&gt;Eg:&lt;BR /&gt;First file name - TestReport08232018.xlsx&lt;BR /&gt;Second file name - Test08232018.xlsx&lt;BR /&gt;&lt;BR /&gt;For loading first file, i am using tFileList.&lt;BR /&gt;Inside tFileInputExcel in path, I put filepath+"Test&lt;BR /&gt;report"+Talenddate.getDate("MMddyyyy")+".xlsx"&lt;BR /&gt;&lt;BR /&gt;But how to load the second file. How to give path.sometimes space will come&lt;BR /&gt;between Test and date.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235395#M24454</guid>
      <dc:creator>Rathesh</dc:creator>
      <dc:date>2018-08-23T17:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235396#M24455</link>
      <description>&lt;P&gt;A regular expression match like this -&lt;/P&gt;
&lt;PRE&gt;"Test(.*)"&lt;/PRE&gt;
&lt;P&gt;would make sure that you are fetching all the files start with Test&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235396#M24455</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-23T17:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235397#M24456</link>
      <description>Regular expression for space is \s. I already tried (\s*). I am receiving
&lt;BR /&gt;an error like invalid escape character.
&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235397#M24456</guid>
      <dc:creator>Rathesh</dc:creator>
      <dc:date>2018-08-23T17:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235398#M24457</link>
      <description>You need to use - (\\s*)</description>
      <pubDate>Thu, 23 Aug 2018 17:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235398#M24457</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-23T17:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235399#M24458</link>
      <description>tFileList List all your file.
&lt;BR /&gt;for each file (iteration) file name is in (String)globalMap.get("tFileList1_CURRENTFILE") and check the name it may define tale name.
&lt;BR /&gt;read data using tFileInputExcel you can get fileName full path in (String)globalMap.get("tFileList1_CURRENTFILE").
&lt;BR /&gt;tFileList give you file name and path for each file you have to use iterate link then your tFileInputExcel will be run for each file.
&lt;BR /&gt;Regards,
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235399#M24458</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-24T07:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching the file with space in filename</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235400#M24459</link>
      <description>&lt;P&gt;I am receiving error like Zip File is closed, while trying to use regular expression (\\s*).&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 13:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-the-file-with-space-in-filename/m-p/2235400#M24459</guid>
      <dc:creator>Rathesh</dc:creator>
      <dc:date>2018-08-24T13:59:08Z</dc:date>
    </item>
  </channel>
</rss>

