<?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: Download multiple files with tFileFetch will not work in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279832#M54870</link>
    <description>&lt;P&gt;Got a solution.&lt;/P&gt; 
&lt;P&gt;Look here &lt;A href="https://community.qlik.com/s/feed/0D73p000004kUtbCAE#M83228" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Download-multiple-files-with-tFileFetch-will-not-work/m-p/133494#M83228&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 14:54:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-12T14:54:12Z</dc:date>
    <item>
      <title>Download multiple files with tFileFetch will not work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279829#M54867</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I interpret an XML file with products. Each product has one or no image. The image is identified with an HTTPS URI.&lt;/P&gt; 
&lt;P&gt;"image1 (tJavaRow) prepares global variales for URI and filename so I can use them in tFileFetch.&lt;/P&gt; 
&lt;P&gt;The "run if" clause checks whether the URI is set. It yes I want to execute the tFileFetch.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 941px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzQv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143298iF3BEDE57F2A77CA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzQv.png" alt="0683p000009LzQv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;tFileInputXML_1 iterates 2 products with 2 valid images.&lt;/P&gt; 
&lt;P&gt;The problem is that the tJavaRow componenten&lt;/P&gt; 
&lt;P&gt;The problem is that image1 (tJavaRow) is called twice (that's correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; but tFileFetch will only be called once for the second product.&lt;/P&gt; 
&lt;P&gt;In the following screenshot you see the trace output for each tJavaRow and only one Status entry for the tFileFetch.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 807px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134073i2F33DF05E10B4FD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzAI.png" alt="0683p000009LzAI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Note:&lt;/P&gt; 
&lt;P&gt;If I replace the "Run if" with the "Main" connection all works fine. tFileFetch will be called twice.&lt;/P&gt; 
&lt;P&gt;The problem with that is, that if a product has no image than tFileFetch runs into an error because of an invalid URI.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What is the problem?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thx,&lt;/P&gt; 
&lt;P&gt;Michael&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279829#M54867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T14:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Download multiple files with tFileFetch will not work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279830#M54868</link>
      <description>&lt;P&gt;The issue is that using a 'run if' connection will only execute once regardless of how many rows are processed by your main connection.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279830#M54868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T14:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Download multiple files with tFileFetch will not work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279831#M54869</link>
      <description>OK. Thx.
&lt;BR /&gt;Any idea how to deal if empty URIs using the main connection?</description>
      <pubDate>Wed, 12 Sep 2018 14:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279831#M54869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T14:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Download multiple files with tFileFetch will not work</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279832#M54870</link>
      <description>&lt;P&gt;Got a solution.&lt;/P&gt; 
&lt;P&gt;Look here &lt;A href="https://community.qlik.com/s/feed/0D73p000004kUtbCAE#M83228" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Download-multiple-files-with-tFileFetch-will-not-work/m-p/133494#M83228&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-multiple-files-with-tFileFetch-will-not-work/m-p/2279832#M54870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T14:54:12Z</dc:date>
    </item>
  </channel>
</rss>

