<?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: Recreate a PDF from an Online PDF in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290495#M63771</link>
    <description>&lt;P&gt;If you simply click on the URL (or use it in a web browser) does it return the PDF as expected? If so, I suspect you may be receiving a text representation of the byte code back. If so, try connecting it to a tFileOutputRaw component and that might solve this for you.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 12:44:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-23T12:44:41Z</dc:date>
    <item>
      <title>Recreate a PDF from an Online PDF</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290494#M63770</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;BR /&gt;I'm starting with Talend and I'm not sure if what I want to do is possible or not &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;.&lt;BR /&gt;&lt;BR /&gt;I want to recover a PDF file from a Rest API (I'm using an OpenBee API) and send it as an attachment in an email.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;For now I manage to recover the url of my file but when I make a GET request on this URL, it sends me the PDF code of my file. After that, I can not properly reform it because the encoding is UTF-8 and converting back to ANSI does not change anything.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;How can I do to resolv this problem ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290494#M63770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T09:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate a PDF from an Online PDF</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290495#M63771</link>
      <description>&lt;P&gt;If you simply click on the URL (or use it in a web browser) does it return the PDF as expected? If so, I suspect you may be receiving a text representation of the byte code back. If so, try connecting it to a tFileOutputRaw component and that might solve this for you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 12:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290495#M63771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T12:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate a PDF from an Online PDF</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290496#M63772</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for replying. I think you're right because the URL returns the PDF as expected. So it gives me a text representation of the byte code I think &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;The problem is from the encoding, I think, because my tRestClient is getting the text representation of the byte code in UTF-8 and there's some characters that it does not understand. Encoding it back in ANSI does not change anything either...&lt;BR /&gt;I already tried to connect a tFileOuputRaw after my tRestClient but it only gives me a blank page &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Jb&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 13:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290496#M63772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate a PDF from an Online PDF</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290497#M63773</link>
      <description>&lt;P&gt;Actually, I've rethought this. Use the tFileFetch component. That should handle everything for you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 15:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290497#M63773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate a PDF from an Online PDF</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290498#M63774</link>
      <description>&lt;P&gt;That is what I was looking for. Thank you very much for your help. I just have a last problem with authentication with my http address ...&lt;BR /&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Jb&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 15:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recreate-a-PDF-from-an-Online-PDF/m-p/2290498#M63774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T15:59:34Z</dc:date>
    </item>
  </channel>
</rss>

