<?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] Upload file to server that returns other code 200 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325522#M95112</link>
    <description>Great! &amp;nbsp;&amp;nbsp;
&lt;BR /&gt;Yes, copy the component and rename it to another one, modify the source code of component.&amp;nbsp;</description>
    <pubDate>Tue, 05 Jan 2016 10:05:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-05T10:05:09Z</dc:date>
    <item>
      <title>[resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325516#M95106</link>
      <description>&lt;P&gt;In my Talend Data Integration job I need to upload a file (with multipart/form-data) to http server. Server in response returns http code other than 200 (for example 201, 202).&amp;nbsp;&lt;BR /&gt;I tried to use tFileFetch but this component only accepts responses with a code 200.&amp;nbsp;&lt;BR /&gt;Do you have any suggestion that I may use?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2015 12:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325516#M95106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-30T12:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325517#M95107</link>
      <description>Hi&amp;nbsp;&lt;BR /&gt;Which component do you use to upload a file? What is the return code you are getting now?</description>
      <pubDate>Mon, 04 Jan 2016 08:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325517#M95107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-04T08:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325518#M95108</link>
      <description>Hi!
&lt;BR /&gt;I tried to use 
&lt;B&gt;tFileFetch&lt;/B&gt;&amp;nbsp;to upload a file to a server.
&lt;BR /&gt;But in generated code I found following lines:
&lt;BR /&gt;
&lt;PRE&gt;if (status_tFileFetch_1 != org.apache.commons.httpclient.HttpStatus.SC_OK) {&lt;BR /&gt; &amp;nbsp; &amp;nbsp;throw new java.lang.Exception("Method failed: " + method_tFileFetch_1.getStatusLine());&lt;BR /&gt;}&lt;/PRE&gt;
&lt;BR /&gt;So I don't know what I should use to handle responses with codes like 
&lt;B&gt;SC_CREATED&lt;/B&gt; (201) or 
&lt;B&gt;SC_ACCEPTED&lt;/B&gt; (202).</description>
      <pubDate>Mon, 04 Jan 2016 08:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325518#M95108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-04T08:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325519#M95109</link>
      <description>From the generated code, the returned status code is either SC_OK or Java exception. So, it will not return other status code unless you modify the source code of component.</description>
      <pubDate>Mon, 04 Jan 2016 09:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325519#M95109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-04T09:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325520#M95110</link>
      <description>So is in Talend any component that during file upload can handle http status code other than &lt;B&gt;SC_OK&lt;/B&gt; (200)?</description>
      <pubDate>Mon, 04 Jan 2016 09:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325520#M95110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-04T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325521#M95111</link>
      <description>&lt;BLOCKQUOTE&gt;
  shong wrote: 
 &lt;BR /&gt;unless you modify the source code of component. 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I was not quite sure what you meant by 
&lt;I&gt;modifying&lt;/I&gt;. I think you&amp;nbsp;meant to write a custom component which source is copied from the&amp;nbsp; 
&lt;B&gt;tFileFetch&lt;/B&gt;. So I resolved my problem in this way. 
&lt;BR /&gt; 
&lt;BR /&gt;Anyway thank for your help! 
&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Tue, 05 Jan 2016 08:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325521#M95111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T08:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325522#M95112</link>
      <description>Great! &amp;nbsp;&amp;nbsp;
&lt;BR /&gt;Yes, copy the component and rename it to another one, modify the source code of component.&amp;nbsp;</description>
      <pubDate>Tue, 05 Jan 2016 10:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325522#M95112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T10:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325523#M95113</link>
      <description>&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;I am facing same issue, I want other status codes also to be accepted. &lt;/P&gt;&lt;P&gt;Please can you tell me steps to edit code in tFileFetch component and create new custom component. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where do i need to edit and what ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 07:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325523#M95113</guid>
      <dc:creator>Minal1</dc:creator>
      <dc:date>2020-09-16T07:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Upload file to server that returns other code 200</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325524#M95114</link>
      <description>&lt;P&gt;@Minal&lt;/P&gt;&lt;P&gt;Refer to this &lt;A href="https://help.talend.com/reader/2zoPbB~8uGpH2pU_w0z6Bg/d006zJ6FDVR1cGuZlwiwHQ" alt="https://help.talend.com/reader/2zoPbB~8uGpH2pU_w0z6Bg/d006zJ6FDVR1cGuZlwiwHQ" target="_blank"&gt;documentation &lt;/A&gt;to learn about the component source file. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 08:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Upload-file-to-server-that-returns-other-code-200/m-p/2325524#M95114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-16T08:36:52Z</dc:date>
    </item>
  </channel>
</rss>

