<?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: [resolved] TFileExist in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251364#M35345</link>
    <description>&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/154283/Sans-titre2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137491iC6805116276C1F74/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpH.png" alt="0683p000009MBpH.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt;Thank you for your answer but when I tried I get the following error: 
&lt;BR /&gt;Démarrage du job FtpCheck_by_RC a 16:44 04/12/2014. 
&lt;BR /&gt; connecting to socket on port 3566 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tFileExist_1 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.io.File.&amp;lt;init&amp;gt;(File.java:277) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.tFileExist_1Process(FtpCheck_by_RC.java:1866) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.tFileList_1Process(FtpCheck_by_RC.java:1782) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.tServerAlive_1Process(FtpCheck_by_RC.java:803) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.runJobInTOS(FtpCheck_by_RC.java:5935) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.main(FtpCheck_by_RC.java:5791) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job FtpCheck_by_RC terminé à 16:44 04/12/2014.</description>
    <pubDate>Thu, 04 Dec 2014 15:46:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-04T15:46:15Z</dc:date>
    <item>
      <title>[resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251357#M35338</link>
      <description>Hi, 
&lt;BR /&gt;We wanted to set a filename into a TFileExist component and we don't know how to do it: 
&lt;BR /&gt;We've try that: context.rep_local+"ANATTAET.*.txt" 
&lt;BR /&gt;We've try that: context.rep_local+"ANATTAET*.txt" 
&lt;BR /&gt;And that did'nt work. The filename change all the time and we cannot specify a specific filename (unfortunatly) 
&lt;BR /&gt;Thx for your help</description>
      <pubDate>Wed, 03 Dec 2014 16:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251357#M35338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-03T16:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251358#M35339</link>
      <description>Hi, 
&lt;BR /&gt;you could try to set the following &amp;nbsp; 
&lt;FONT color="#339933"&gt;context.path + &amp;nbsp; &amp;nbsp;Numeric.random(0,100) &amp;nbsp;+ ".txt" .&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;In the File components guide at :&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;you'll find an example (worth reading &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#255b97"&gt;&lt;FONT size="4"&gt;&lt;FONT face="Rokkitt"&gt;Scenario: Checking for the presence of a file and creating it if it does not exist&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;BR Marcus</description>
      <pubDate>Wed, 03 Dec 2014 18:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251358#M35339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-03T18:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251359#M35340</link>
      <description>The files always begin by&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;ANATTAET and I don't find the correct syntax in the component guide&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 03 Dec 2014 19:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251359#M35340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-03T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251360#M35341</link>
      <description>Please describe the context for using the tFileExist in your Job.</description>
      <pubDate>Wed, 03 Dec 2014 20:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251360#M35341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-03T20:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251361#M35342</link>
      <description>&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/154283/Sans-titre.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB6N.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145612iD7085F5E493F489C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB6N.png" alt="0683p000009MB6N.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt;Hi, 
&lt;BR /&gt;We want to check if a file exist with an if ((Boolean)globalMap.get("tFileExist_1_EXISTS")) before to put it on FTP Server</description>
      <pubDate>Thu, 04 Dec 2014 11:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251361#M35342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T11:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251362#M35343</link>
      <description>It seems you are using wrong file name format. the way you specified it will not work with this component,&amp;nbsp;&lt;BR /&gt;you can better use tFileList FTP then compare file list with source files.&amp;nbsp;</description>
      <pubDate>Thu, 04 Dec 2014 12:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251362#M35343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T12:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251363#M35344</link>
      <description>Assuming you use a tFileList component ... add a Filemask like "ANATTAET*.txt"&lt;BR /&gt;and then in your tFileExist component use ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) as your File name/Stream</description>
      <pubDate>Thu, 04 Dec 2014 12:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251363#M35344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T12:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251364#M35345</link>
      <description>&amp;nbsp; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/154283/Sans-titre2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137491iC6805116276C1F74/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpH.png" alt="0683p000009MBpH.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt; 
&lt;BR /&gt;Thank you for your answer but when I tried I get the following error: 
&lt;BR /&gt;Démarrage du job FtpCheck_by_RC a 16:44 04/12/2014. 
&lt;BR /&gt; connecting to socket on port 3566 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tFileExist_1 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.io.File.&amp;lt;init&amp;gt;(File.java:277) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.tFileExist_1Process(FtpCheck_by_RC.java:1866) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.tFileList_1Process(FtpCheck_by_RC.java:1782) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.tServerAlive_1Process(FtpCheck_by_RC.java:803) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.runJobInTOS(FtpCheck_by_RC.java:5935) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at gate.ftpcheck_by_rc_0_2.FtpCheck_by_RC.main(FtpCheck_by_RC.java:5791) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job FtpCheck_by_RC terminé à 16:44 04/12/2014.</description>
      <pubDate>Thu, 04 Dec 2014 15:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251364#M35345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T15:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251365#M35346</link>
      <description>- Use an "Interate Row" to connect tFileList_1 and tFileExist_1 (since you gave a wildcard expression in Filemask setting for tFileList_1)
&lt;BR /&gt;- make sure that the setting for Directory in tFileExist_1 is a valid Directory</description>
      <pubDate>Thu, 04 Dec 2014 16:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251365#M35346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T16:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] TFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251366#M35347</link>
      <description>OK I think I found a way 
&lt;BR /&gt;Again thank you for your help, good evening</description>
      <pubDate>Thu, 04 Dec 2014 17:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-TFileExist/m-p/2251366#M35347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T17:16:36Z</dc:date>
    </item>
  </channel>
</rss>

