<?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 A bug in tFilefetch component? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/A-bug-in-tFilefetch-component/m-p/2332900#M101736</link>
    <description>Hi: it looks like we have some bugs in tFileFetch component when we try to use the component for http get with some query string and if we leave the destination file name empty, that makes the component fail to download the file. When I got deep into the code I found this line is the culprit
&lt;BR /&gt;java.net.URL url_tFileFetch_1 = new java.net.URL(
&lt;BR /&gt; "
&lt;A href="http://clinicaltrials.gov/ct2/results/download?down_stds=all&amp;amp;down_typ=study&amp;amp;down_flds=shown&amp;amp;down_fmt=plain&amp;amp;term=*&amp;amp;show_down=Y" target="_blank" rel="nofollow noopener noreferrer"&gt;http://clinicaltrials.gov/ct2/results/download?down_stds=all&amp;amp;down_typ=study&amp;amp;down_flds=shown&amp;amp;down_fmt=plain&amp;amp;term=*&amp;amp;show_down=Y&lt;/A&gt;");
&lt;BR /&gt;In this case it will never return the file name (see the sun java doc for more info 
&lt;A href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#getFile%28%29)" target="_blank" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#getFile%28%29)&lt;/A&gt;, but the full path with query string and when we try to use the returned string as file name it blows the file I/O code.
&lt;BR /&gt;Regards,
&lt;BR /&gt;RJ.</description>
    <pubDate>Sat, 16 Nov 2024 13:44:40 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T13:44:40Z</dc:date>
    <item>
      <title>A bug in tFilefetch component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/A-bug-in-tFilefetch-component/m-p/2332900#M101736</link>
      <description>Hi: it looks like we have some bugs in tFileFetch component when we try to use the component for http get with some query string and if we leave the destination file name empty, that makes the component fail to download the file. When I got deep into the code I found this line is the culprit
&lt;BR /&gt;java.net.URL url_tFileFetch_1 = new java.net.URL(
&lt;BR /&gt; "
&lt;A href="http://clinicaltrials.gov/ct2/results/download?down_stds=all&amp;amp;down_typ=study&amp;amp;down_flds=shown&amp;amp;down_fmt=plain&amp;amp;term=*&amp;amp;show_down=Y" target="_blank" rel="nofollow noopener noreferrer"&gt;http://clinicaltrials.gov/ct2/results/download?down_stds=all&amp;amp;down_typ=study&amp;amp;down_flds=shown&amp;amp;down_fmt=plain&amp;amp;term=*&amp;amp;show_down=Y&lt;/A&gt;");
&lt;BR /&gt;In this case it will never return the file name (see the sun java doc for more info 
&lt;A href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#getFile%28%29)" target="_blank" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#getFile%28%29)&lt;/A&gt;, but the full path with query string and when we try to use the returned string as file name it blows the file I/O code.
&lt;BR /&gt;Regards,
&lt;BR /&gt;RJ.</description>
      <pubDate>Sat, 16 Nov 2024 13:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/A-bug-in-tFilefetch-component/m-p/2332900#M101736</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:44:40Z</dc:date>
    </item>
  </channel>
</rss>

