<?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: tFileFetch - How to append ;type to File Path? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364575#M128299</link>
    <description>&lt;P&gt;Hi @Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response. I did try both ways and neither worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFileFetch errored on "&lt;B&gt;File is not a normal file&lt;/B&gt;" when I changed the content-type as "application/octet-stream". I then removed "&lt;B&gt;;type=text/csv&lt;/B&gt;&amp;nbsp;" from the end of the file path and it errored on "Method failed: HTTP/1.1 422 Unprocessable Content". That's because it requires that type at the end of the file path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tRESTClient doesn't run with that header in advanced settings. It errors on "Syntax error on token "Invalid Character", delete this token".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000sknGuAAI.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140081iAF228E9407FA6571/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000sknGuAAI.jpg" alt="0695b00000sknGuAAI.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 16:54:56 GMT</pubDate>
    <dc:creator>Edith1</dc:creator>
    <dc:date>2023-11-21T16:54:56Z</dc:date>
    <item>
      <title>tFileFetch - How to append ;type to File Path?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364573#M128297</link>
      <description>&lt;P&gt;I'm trying to upload a file in tFileFetch and keep getting error "&lt;/P&gt;&lt;P&gt;File is not a normal file&lt;/P&gt;." when I append ;type=text/csv to the file name on advanced settings.&lt;P&gt;The API endpoint requires this format: &lt;B&gt;--form 'input_data=@"REPLACE_WITH_PATH_TO_FILE";type=text/csv'&lt;/B&gt;&lt;/P&gt;&lt;P&gt;I got it to work in Postman and in curl command, but not in tFileFetch. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how would I pass this to the URL?&lt;/P&gt;&lt;P&gt;-F input_data=@C:\Users\oneman\Postman\files\upload.csv;type=text/csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 18:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364573#M128297</guid>
      <dc:creator>Edith1</dc:creator>
      <dc:date>2023-11-20T18:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: tFileFetch - How to append ;type to File Path?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364574#M128298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In advanced settings, upload file settings, could you please try to set Content-type as "application/octet-stream" to see if it works?&lt;/P&gt;&lt;P&gt;Or you could use the tRestClient component, with PUT method and add the content type to “text/csv” in the header( tRestClient&amp;gt;advanced settings).&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 08:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364574#M128298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-21T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: tFileFetch - How to append ;type to File Path?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364575#M128299</link>
      <description>&lt;P&gt;Hi @Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response. I did try both ways and neither worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFileFetch errored on "&lt;B&gt;File is not a normal file&lt;/B&gt;" when I changed the content-type as "application/octet-stream". I then removed "&lt;B&gt;;type=text/csv&lt;/B&gt;&amp;nbsp;" from the end of the file path and it errored on "Method failed: HTTP/1.1 422 Unprocessable Content". That's because it requires that type at the end of the file path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tRESTClient doesn't run with that header in advanced settings. It errors on "Syntax error on token "Invalid Character", delete this token".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000sknGuAAI.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140081iAF228E9407FA6571/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000sknGuAAI.jpg" alt="0695b00000sknGuAAI.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 16:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364575#M128299</guid>
      <dc:creator>Edith1</dc:creator>
      <dc:date>2023-11-21T16:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: tFileFetch - How to append ;type to File Path?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364576#M128300</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please refer to belows only as a reference,&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/56711503/how-to-fix-422-unprocessable-entity-when-sending-a-post-request-to-redmine-api" alt="https://stackoverflow.com/questions/56711503/how-to-fix-422-unprocessable-entity-when-sending-a-post-request-to-redmine-api" target="_blank"&gt;https://stackoverflow.com/questions/56711503/how-to-fix-422-unprocessable-entity-when-sending-a-post-request-to-redmine-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/393647/response-content-type-as-csv" alt="https://stackoverflow.com/questions/393647/response-content-type-as-csv" target="_blank"&gt;https://stackoverflow.com/questions/393647/response-content-type-as-csv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 04:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileFetch-How-to-append-type-to-File-Path/m-p/2364576#M128300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-22T04:03:46Z</dc:date>
    </item>
  </channel>
</rss>

