<?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: TAlend expression builder - TalendDate for &amp;quot;.CSV&amp;quot; file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512344#M147385</link>
    <description>If you know the file will always start PES followed by 8 digits for the date, and then any combination of numbers (and letters in this example), you can try this:&lt;BR /&gt;&lt;BR /&gt;"PES_[0-9]*[a-zA-Z0-9]*.csv"&lt;BR /&gt;&lt;BR /&gt;If you specifically want only files with the current date, then this should work for you:&lt;BR /&gt;&lt;BR /&gt;"PES_"+TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate())+"*.csv"&lt;BR /&gt;&lt;BR /&gt;Finds:&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Date: 20250331&lt;BR /&gt;Filename: PES_2025033103202002.csv&lt;BR /&gt;Filename: PES_2025033103202003.csv&lt;BR /&gt;Filename: PES_2025033103202004.csv&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;</description>
    <pubDate>Mon, 31 Mar 2025 13:12:41 GMT</pubDate>
    <dc:creator>mchapman</dc:creator>
    <dc:date>2025-03-31T13:12:41Z</dc:date>
    <item>
      <title>TAlend expression builder - TalendDate for ".CSV" file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512336#M147384</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to get/copy a daily file ".csv" from a folder.&lt;/P&gt;&lt;P&gt;The original file name is "PES_2025032903202000.csv". and is generated every day.&lt;/P&gt;&lt;P&gt;I want Talend to identify the file based on the string&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;20250329&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt;&amp;nbsp;(YYYYMMDD).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me which expression to build in the "Expression builder".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this expression for the moment but it only works if the original file is&amp;nbsp;"PES_20250329.csv"&lt;/P&gt;&lt;P&gt;"PES_"+TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate())+".csv"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 11:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512336#M147384</guid>
      <dc:creator>Olivier_Pierret</dc:creator>
      <dc:date>2025-03-31T11:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: TAlend expression builder - TalendDate for ".CSV" file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512344#M147385</link>
      <description>If you know the file will always start PES followed by 8 digits for the date, and then any combination of numbers (and letters in this example), you can try this:&lt;BR /&gt;&lt;BR /&gt;"PES_[0-9]*[a-zA-Z0-9]*.csv"&lt;BR /&gt;&lt;BR /&gt;If you specifically want only files with the current date, then this should work for you:&lt;BR /&gt;&lt;BR /&gt;"PES_"+TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate())+"*.csv"&lt;BR /&gt;&lt;BR /&gt;Finds:&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Date: 20250331&lt;BR /&gt;Filename: PES_2025033103202002.csv&lt;BR /&gt;Filename: PES_2025033103202003.csv&lt;BR /&gt;Filename: PES_2025033103202004.csv&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Mar 2025 13:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512344#M147385</guid>
      <dc:creator>mchapman</dc:creator>
      <dc:date>2025-03-31T13:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: TAlend expression builder - TalendDate for ".CSV" file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512347#M147386</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried &lt;SPAN&gt;"PES_"+TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate())+"*.csv"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here is the error code i have&lt;/P&gt;&lt;P&gt;PES_20250331*.csv" does not exist or is not a file.&lt;BR /&gt;tFileCopy_1 Illegal char &amp;lt;*&amp;gt; at index 75:&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 13:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512347#M147386</guid>
      <dc:creator>Olivier_Pierret</dc:creator>
      <dc:date>2025-03-31T13:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: TAlend expression builder - TalendDate for ".CSV" file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512354#M147387</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mchapman_0-1743428611218.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179147i7D02AC9B92A7A0A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mchapman_0-1743428611218.png" alt="mchapman_0-1743428611218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Make sure that you have the "Use Glob..." checked as shown in the image.&lt;BR /&gt;&lt;BR /&gt;The syntax is correct. Here is the result:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mchapman_1-1743428701407.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179148iB467C54771040DA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mchapman_1-1743428701407.png" alt="mchapman_1-1743428701407.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 13:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512354#M147387</guid>
      <dc:creator>mchapman</dc:creator>
      <dc:date>2025-03-31T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: TAlend expression builder - TalendDate for ".CSV" file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512359#M147388</link>
      <description>&lt;P&gt;I see you are using the tFileCopy component. Try this job design:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mchapman_2-1743429057294.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179150iD412F9EFC85B14E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mchapman_2-1743429057294.png" alt="mchapman_2-1743429057294.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tFileList gets the list of files and the Iterate invokes the tFileCopy for each file with the current date.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 13:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512359#M147388</guid>
      <dc:creator>mchapman</dc:creator>
      <dc:date>2025-03-31T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: TAlend expression builder - TalendDate for ".CSV" file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512379#M147389</link>
      <description>&lt;P&gt;Excellent ! It works fine .&lt;BR /&gt;Many thanks for your help&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 15:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAlend-expression-builder-TalendDate-for-quot-CSV-quot-file/m-p/2512379#M147389</guid>
      <dc:creator>Olivier_Pierret</dc:creator>
      <dc:date>2025-03-31T15:11:14Z</dc:date>
    </item>
  </channel>
</rss>

