<?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: Upload zip file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359468#M124239</link>
    <description>&lt;P&gt;You can try globalMap.put and globalMap.get instead of context.setProperty and context.getProperty.&amp;nbsp; Also, your schema values are not passed through the tJava* components so they will come out null the other end.&lt;/P&gt;</description>
    <pubDate>Sat, 08 Jun 2019 04:16:17 GMT</pubDate>
    <dc:creator>nfz11</dc:creator>
    <dc:date>2019-06-08T04:16:17Z</dc:date>
    <item>
      <title>Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359465#M124236</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have been trying to upload a 44 MB zip file using tFileFetch, tRest and tHttpRequest but untill now no success.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is my settings for 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="talend1.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5Wx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134648i8FF079B17124B89E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5Wx.png" alt="0683p000009M5Wx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5X7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138105i30B7667B1A6D7AFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5X7.png" alt="0683p000009M5X7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's throwing the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;PRE&gt;java.io.FileNotFoundException:File is not a normal file.&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jun 2019 19:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359465#M124236</guid>
      <dc:creator>matiasdesousa</dc:creator>
      <dc:date>2019-06-07T19:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359466#M124237</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try once by setting the filename in a tJava before the tFileFetch as : String fileName = &amp;lt;Your FileName context&amp;gt;, then, in tJava only context.setProperty("FILE_NAME",fileName);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use the fileName context in tFileFetch : context.getProperty("FILE_NAME").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 19:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359466#M124237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-07T19:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359467#M124238</link>
      <description>Now it's throwing the error:&lt;BR /&gt;&lt;BR /&gt;java.lang.NullPointerException:null</description>
      <pubDate>Fri, 07 Jun 2019 20:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359467#M124238</guid>
      <dc:creator>matiasdesousa</dc:creator>
      <dc:date>2019-06-07T20:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359468#M124239</link>
      <description>&lt;P&gt;You can try globalMap.put and globalMap.get instead of context.setProperty and context.getProperty.&amp;nbsp; Also, your schema values are not passed through the tJava* components so they will come out null the other end.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 04:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359468#M124239</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-06-08T04:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359469#M124240</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006yqfZAAQ"&gt;@nfz11&lt;/A&gt;&amp;nbsp;i'm new in talend. Can you explain what you mean by "&lt;SPAN&gt;your schema values are not passed through the tJava* components so they will come out null the other end"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also when i use globalMap it throws the error: "The constructor File(Object) is undefined"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 11:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359469#M124240</guid>
      <dc:creator>matiasdesousa</dc:creator>
      <dc:date>2019-06-10T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359470#M124241</link>
      <description>&lt;P&gt;Can you show a screen shot of your code where the you are setting the File(Object)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean that if you put a tJava* component in your flow, it does not persist the values in schema to the other side, unlike say, a tLogRow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[id=1,name=John] -&amp;gt; tJava* -&amp;gt; [id=null,name=null]
[id=1,name=John] -&amp;gt; tLogRow -&amp;gt; [id=1,name=John]&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jun 2019 22:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359470#M124241</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-06-10T22:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359471#M124242</link>
      <description>&lt;P&gt;I'm not setting any file object. I only set the file name in the tjava. Shouldn't talend create the file object itself when i check the upload file checkbox?&lt;/P&gt; 
&lt;P&gt;Also how can&amp;nbsp;&lt;SPAN&gt;persist the values in schema to the other side?&lt;/SPAN&gt;&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="talend1.PNG" style="width: 739px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5ZN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145395iF5B0E1AA636DF29C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5ZN.png" alt="0683p000009M5ZN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5Tv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157788i3F1CE3476FC9806B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5Tv.png" alt="0683p000009M5Tv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 11:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359471#M124242</guid>
      <dc:creator>matiasdesousa</dc:creator>
      <dc:date>2019-06-11T11:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359472#M124243</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;globalMap.get() returns an object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please cast to string like (String)globalMap.get("FILE_NAME")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 20:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359472#M124243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-11T20:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Upload zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359473#M124244</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;thanks for replying.&lt;/P&gt; 
&lt;P&gt;I try to post the file to server using postman and it works fine. Here are my postman settings:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend1.PNG" style="width: 703px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5yn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147948i9B4054BC63043F88/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5yn.png" alt="0683p000009M5yn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In talend it's throwing the following error:&lt;/P&gt; 
&lt;PRE&gt;java.net.SocketException:Connection reset by peer: socket write error&lt;/PRE&gt; 
&lt;P&gt;What can be causing this?&lt;/P&gt; 
&lt;P&gt;PS: the file size is 44MB.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 12:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-zip-file/m-p/2359473#M124244</guid>
      <dc:creator>matiasdesousa</dc:creator>
      <dc:date>2019-06-17T12:21:12Z</dc:date>
    </item>
  </channel>
</rss>

