<?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: Download exel file using http URL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366566#M130039</link>
    <description>Does the web server from which you are downloading require a login? &amp;nbsp;If so, you'll need to authenticate first before fetching the file. &amp;nbsp;This can be complicated to set up. 
&lt;BR /&gt; 
&lt;BR /&gt;In the one such job I've managed to get working, I had to point a tFileFetch at the website's login URL, select POST method, supply user_id and password as Parameters, save the resulting cookie, and specify the full path and filename for the cookie file (not just the directory, as the field name implies). &amp;nbsp;Then I used additional tFileFetch components to retrieve files, making sure to check Read Cookie, and specifying the cookie file generated by the first component. 
&lt;BR /&gt; 
&lt;BR /&gt;Working out the exact sequence required the use of Fiddler to read the underlying http calls for the POST parameters. ( 
&lt;A href="http://www.telerik.com/fiddler" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.telerik.com/fiddler&lt;/A&gt;)&amp;nbsp;</description>
    <pubDate>Wed, 26 Oct 2016 20:15:52 GMT</pubDate>
    <dc:creator>cterenzi</dc:creator>
    <dc:date>2016-10-26T20:15:52Z</dc:date>
    <item>
      <title>Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366563#M130036</link>
      <description>&lt;P&gt;I need to download excel file from a http URL into my local system. Please help me out with possible ways to do so.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366563#M130036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366564#M130037</link>
      <description>Hi,&lt;BR /&gt;Here is a component&amp;nbsp;&lt;A href="https://help.talend.com/search/all?query=tFileFetch" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tFileFetch&lt;/A&gt;&amp;nbsp;which is used to&amp;nbsp;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;retrieve a file via a defined protocol.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366564#M130037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T09:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366565#M130038</link>
      <description>I'm getting below mentioned error while running the job -&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Exception in component tFileFetch_1&lt;BR /&gt;&lt;BR /&gt; java.lang.Exception: Method failed: HTTP/1.1 401 Unauthorized&lt;BR /&gt;&lt;BR /&gt; at nikhil.download_file_0_1.Download_file.tFileFetch_1Process(Download_file.java:488)&lt;BR /&gt;&lt;BR /&gt; at nikhil.download_file_0_1.Download_file.runJobInTOS(Download_file.java:812)&lt;BR /&gt;&lt;BR /&gt; at nikhil.download_file_0_1.Download_file.main(Download_file.java:669)</description>
      <pubDate>Wed, 26 Oct 2016 11:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366565#M130038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T11:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366566#M130039</link>
      <description>Does the web server from which you are downloading require a login? &amp;nbsp;If so, you'll need to authenticate first before fetching the file. &amp;nbsp;This can be complicated to set up. 
&lt;BR /&gt; 
&lt;BR /&gt;In the one such job I've managed to get working, I had to point a tFileFetch at the website's login URL, select POST method, supply user_id and password as Parameters, save the resulting cookie, and specify the full path and filename for the cookie file (not just the directory, as the field name implies). &amp;nbsp;Then I used additional tFileFetch components to retrieve files, making sure to check Read Cookie, and specifying the cookie file generated by the first component. 
&lt;BR /&gt; 
&lt;BR /&gt;Working out the exact sequence required the use of Fiddler to read the underlying http calls for the POST parameters. ( 
&lt;A href="http://www.telerik.com/fiddler" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.telerik.com/fiddler&lt;/A&gt;)&amp;nbsp;</description>
      <pubDate>Wed, 26 Oct 2016 20:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366566#M130039</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2016-10-26T20:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366567#M130040</link>
      <description>Hi,&lt;BR /&gt;After following the method inscribed in the web link, my CSV comes out in HTML format. I don't know the reason being. Please provide assistance.&lt;BR /&gt;Thanks,</description>
      <pubDate>Wed, 26 Oct 2016 21:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366567#M130040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T21:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366568#M130041</link>
      <description>Is it the expected data with HTML tags around it, or is it a web page containing error messages?&lt;BR /&gt;&lt;BR /&gt;If you're getting the expected data, it sounds like the web server is formatting it for screen viewing.</description>
      <pubDate>Thu, 27 Oct 2016 19:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366568#M130041</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2016-10-27T19:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366569#M130042</link>
      <description>&lt;A href="https://community.talend.com/legacyfs/online/398498/Capture_20161027-1229.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFhh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128004i8D1AEC344615B399/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFhh.png" alt="0683p000009MFhh.png" /&gt;&lt;/span&gt; &lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;This is what I get in the CSV file.</description>
      <pubDate>Thu, 27 Oct 2016 20:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366569#M130042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Download exel file using http URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366570#M130043</link>
      <description>I tried tfilefetch component for a file which doesn't needs authentication, but still its giving error while executing. Please find below the error I'm getting. 
&lt;BR /&gt; 
&lt;BR /&gt;Exception in component tFileFetch_1 
&lt;BR /&gt;java.net.SocketTimeoutException: connect timed out 
&lt;BR /&gt;&amp;nbsp;at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) 
&lt;BR /&gt;&amp;nbsp;at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at java.net.PlainSocketImpl.connect(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at java.net.SocksSocketImpl.connect(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at java.net.Socket.connect(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;at nikhil.download_file_0_1.Download_file$1SocketFactory_tFileFetch_1.createSocket(Download_file.java:396) 
&lt;BR /&gt;&amp;nbsp;at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) 
&lt;BR /&gt;&amp;nbsp;at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) 
&lt;BR /&gt;&amp;nbsp;at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) 
&lt;BR /&gt;&amp;nbsp;at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) 
&lt;BR /&gt;[statistics] disconnected 
&lt;BR /&gt;&amp;nbsp;at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) 
&lt;BR /&gt;&amp;nbsp;at nikhil.download_file_0_1.Download_file.tFileFetch_1Process(Download_file.java:452) 
&lt;BR /&gt;&amp;nbsp;at nikhil.download_file_0_1.Download_file.runJobInTOS(Download_file.java:812) 
&lt;BR /&gt;&amp;nbsp;at nikhil.download_file_0_1.Download_file.main(Download_file.java:669) 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I tried increasing timeout limit in advanced settings but error remains the same. 
&lt;BR /&gt; 
&lt;BR /&gt;Please suggest something or a working example would be a great help.</description>
      <pubDate>Tue, 01 Nov 2016 10:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Download-exel-file-using-http-URL/m-p/2366570#M130043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-01T10:25:39Z</dc:date>
    </item>
  </channel>
</rss>

