<?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 Upload a local file using PUT method using tRESTClient or tREST in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Upload-a-local-file-using-PUT-method-using-tRESTClient-or-tREST/m-p/2298075#M70582</link>
    <description>&lt;P&gt;Anybody knows how to upload a local file using PUT method using tRESTClient.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://hadoop.apache.org/docs/r2.7.5/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Create_and_Write_to_a_File" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hadoop.apache.org/docs/r2.7.5/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Create_and_Write_to_a_File&lt;/A&gt;&lt;/P&gt;&lt;P&gt;curl -i -X &lt;STRONG&gt;PUT -T &amp;lt;LOCAL_FILE&amp;gt;&lt;/STRONG&gt; "http://&amp;lt;DATANODE&amp;gt;:&amp;lt;PORT&amp;gt;/webhdfs/v1/&amp;lt;PATH&amp;gt;?op=CREATE..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(step 1 succeeds 307 - HTTP 307 Temporary Redirect , step 2 doesn't)&lt;BR /&gt;And which HEADERS&amp;nbsp;to set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:37:20 GMT</pubDate>
    <dc:creator>Jesperrekuh</dc:creator>
    <dc:date>2024-11-16T08:37:20Z</dc:date>
    <item>
      <title>Upload a local file using PUT method using tRESTClient or tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-a-local-file-using-PUT-method-using-tRESTClient-or-tREST/m-p/2298075#M70582</link>
      <description>&lt;P&gt;Anybody knows how to upload a local file using PUT method using tRESTClient.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://hadoop.apache.org/docs/r2.7.5/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Create_and_Write_to_a_File" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hadoop.apache.org/docs/r2.7.5/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Create_and_Write_to_a_File&lt;/A&gt;&lt;/P&gt;&lt;P&gt;curl -i -X &lt;STRONG&gt;PUT -T &amp;lt;LOCAL_FILE&amp;gt;&lt;/STRONG&gt; "http://&amp;lt;DATANODE&amp;gt;:&amp;lt;PORT&amp;gt;/webhdfs/v1/&amp;lt;PATH&amp;gt;?op=CREATE..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(step 1 succeeds 307 - HTTP 307 Temporary Redirect , step 2 doesn't)&lt;BR /&gt;And which HEADERS&amp;nbsp;to set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-a-local-file-using-PUT-method-using-tRESTClient-or-tREST/m-p/2298075#M70582</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2024-11-16T08:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a local file using PUT method using tRESTClient or tREST</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Upload-a-local-file-using-PUT-method-using-tRESTClient-or-tREST/m-p/2298076#M70583</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;What's your local file?&lt;/P&gt;
&lt;P&gt;The tRESTClient component expects a document type. You need to send your input to the "string" input and not the "body" of the tRestClient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Have you tried to upload a file using tFileFetch component?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 10:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Upload-a-local-file-using-PUT-method-using-tRESTClient-or-tREST/m-p/2298076#M70583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-03T10:09:03Z</dc:date>
    </item>
  </channel>
</rss>

