<?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: Manage Err 404 when importing data from a URL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719736#M1058327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem could you resolve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 14:35:30 GMT</pubDate>
    <dc:creator>sorrakis01</dc:creator>
    <dc:date>2014-10-06T14:35:30Z</dc:date>
    <item>
      <title>Manage Err 404 when importing data from a URL</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719732#M1058323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make a script to import some data from an internet page to a qlikview application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I import the data for each day from a txt file, each file is in a different URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the data for 2014-09-01 is in the URL: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://***.*****.***/***/20140901.txt"&gt;http://***.*****.***/***/20140901.txt&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the data for 2014-09-02 is in the URL: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://***.*****.***/***/20140902.txt"&gt;http://***.*****.***/***/20140902.txt&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is that these files only exists for working days, so when I seek for 2014-09-07 (a Sunday) for example, there's no such URL nor txt file and the script loads garbage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can give me a tip to handle those '404 - Page not found' errors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach my app just in case someone want to take a look at it.&lt;/P&gt;&lt;P&gt;Any help will be most welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 15:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719732#M1058323</guid>
      <dc:creator>alex_millan</dc:creator>
      <dc:date>2014-09-29T15:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Err 404 when importing data from a URL</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719733#M1058324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can give me a hand on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can control Saturdays and Sundays but I'm seeking for a general solution that works also when the date is a holiday for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 08:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719733#M1058324</guid>
      <dc:creator>alex_millan</dc:creator>
      <dc:date>2014-09-30T08:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Err 404 when importing data from a URL</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719734#M1058325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMHO &lt;EM&gt;Holidays&lt;/EM&gt; and &lt;EM&gt;General Solution&lt;/EM&gt; cannot be easily combined. I still think that you should try to avoid loading non-existent files instead of trying to detect 404-pages. One way to attack this problem is with an extra input file that lists holidays/special days for your region and for each successive year. An applymap() or exists() call will do the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 08:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719734#M1058325</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-09-30T08:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Err 404 when importing data from a URL</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719735#M1058326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure that would work Peter but I was seeking for an alternative approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway for your hint!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 08:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719735#M1058326</guid>
      <dc:creator>alex_millan</dc:creator>
      <dc:date>2014-09-30T08:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Err 404 when importing data from a URL</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719736#M1058327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem could you resolve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Err-404-when-importing-data-from-a-URL/m-p/719736#M1058327</guid>
      <dc:creator>sorrakis01</dc:creator>
      <dc:date>2014-10-06T14:35:30Z</dc:date>
    </item>
  </channel>
</rss>

