<?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: Tfileexist or TfileLIst ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307717#M79127</link>
    <description>Sabrina,&lt;BR /&gt;when i m using wild characters(*) in file names, i m getting following error. pls help me&amp;nbsp;&lt;BR /&gt;xception in component tFileInputExcel_1&lt;BR /&gt;java.lang.IllegalStateException: Zip File is closed&lt;BR /&gt;at org.apache.poi.openxml4j.util.ZipFileZipEntrySource.getEntries(ZipFileZipEntrySource.java:45)&lt;BR /&gt;at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:186)&lt;BR /&gt;at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:673)&lt;BR /&gt;&lt;BR /&gt;but when i use full file name properly its working. pls help</description>
    <pubDate>Mon, 25 Apr 2016 13:14:17 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-04-25T13:14:17Z</dc:date>
    <item>
      <title>Tfileexist or TfileLIst ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307712#M79122</link>
      <description>Hi, 
&lt;BR /&gt;I'm a bit lost on how to test if pdf files with wildcard (MyName_*.pdf) are available in a specific directory. I think that tFileExist can't have "generic" names as *.pdf, but the files I have to manage have random names (except extension file that is pdf). If I use tFileList, it works with generic names but how can I send an email when no files are found, and if files exist, I have to iterate to send them to assigned recipient. 
&lt;BR /&gt;To be clear: 
&lt;BR /&gt; 
&lt;BR /&gt;Test if at least one file exists 
&lt;BR /&gt; If no files then send a message to warn 
&lt;BR /&gt; If one or more files exist, process them 
&lt;BR /&gt;Thans for your help.</description>
      <pubDate>Sat, 16 Nov 2024 12:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307712#M79122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileexist or TfileLIst ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307713#M79123</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi,&lt;BR /&gt;I'm a bit lost on how to test if pdf files with wildcard (MyName_*.pdf) are available in a specific directory. I think that tFileExist can't have "generic" names as *.pdf, but the files I have to manage have random names (except extension file that is pdf). If I use tFileList, it works with generic names but how can I send an email when no files are found, and if files exist, I have to iterate to send them to assigned recipient.&lt;BR /&gt;To be clear:&lt;BR /&gt; &lt;BR /&gt;Test if at least one file exists&lt;BR /&gt; If no files then send a message to warn&lt;BR /&gt; If one or more files exist, process them&lt;BR /&gt;Thans for your help.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi, 
&lt;BR /&gt;You can use tFileList to search the specific directory and add the mask MyName_*.pdf, 
&lt;BR /&gt;also check the checkbox "Generate error if no file found". 
&lt;BR /&gt;This will generate error if the folder doesn't contain the files you are searching for 
&lt;BR /&gt; 
&lt;BR /&gt;Best Regards, 
&lt;BR /&gt;Diwakar</description>
      <pubDate>Tue, 01 Nov 2011 11:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307713#M79123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-01T11:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileexist or TfileLIst ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307714#M79124</link>
      <description>As miniquick said, you just have to put the right filter in the tFileList component (*.pdf). Then you could use a if condition to send a mail if there are no files in the folder. In your If condition just put ((Integer)globalMap.get("tFileList_1_NB_FILE"))==0</description>
      <pubDate>Wed, 02 Nov 2011 10:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307714#M79124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-02T10:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileexist or TfileLIst ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307715#M79125</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;I have a job which lists file in a directory and process it, if no files r found a mysql function is to be called . How to achieve this scenario</description>
      <pubDate>Mon, 17 Mar 2014 06:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307715#M79125</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-03-17T06:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileexist or TfileLIst ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307716#M79126</link>
      <description>Hi banu,&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;I have a job which lists file in a directory and process it, if no files r found a mysql function is to be called .&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;What's your expect result? Do you want to call your job(lists file in a directory) by auto/ trigger as long as a file or mysql function is found?&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values? &lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 17 Mar 2014 06:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307716#M79126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-17T06:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Tfileexist or TfileLIst ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307717#M79127</link>
      <description>Sabrina,&lt;BR /&gt;when i m using wild characters(*) in file names, i m getting following error. pls help me&amp;nbsp;&lt;BR /&gt;xception in component tFileInputExcel_1&lt;BR /&gt;java.lang.IllegalStateException: Zip File is closed&lt;BR /&gt;at org.apache.poi.openxml4j.util.ZipFileZipEntrySource.getEntries(ZipFileZipEntrySource.java:45)&lt;BR /&gt;at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:186)&lt;BR /&gt;at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:673)&lt;BR /&gt;&lt;BR /&gt;but when i use full file name properly its working. pls help</description>
      <pubDate>Mon, 25 Apr 2016 13:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tfileexist-or-TfileLIst/m-p/2307717#M79127</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-04-25T13:14:17Z</dc:date>
    </item>
  </channel>
</rss>

