<?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: Accessing a data file on the internet from mathcad worksheet in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101568#M40053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;I know that zip compression has been around for long time, so its algorithm is well known.&lt;/P&gt;&lt;P&gt;Did anybody implement the decompression in mathcad yet?&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I've never seen an implementation and it wouldn't be that easy as there is not one but quite a lot of different compression algorithms possible in a zip-file. So you would be the first to implement a Mathcad zip decompression routine - if you finish, post it here please &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't provide the script but the best I could think of is fetch the zip-file in Mathcad and save it locally. Then, using a scripted component, decrompress is locally using one of the commandline decompression programs which sometimes accompany the zip-programs or maybe the GUI-version of your unzipper itself has a commandline mode.&lt;/P&gt;&lt;P&gt;Then you can load the unpacked file in MC the normal way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way would be to try to fool the website in question by simply renaming the datafile to *.zip. Maybe even adding the magic two bytes "PK" in front of the file (in case the website looks for that signature of Phil Katz), which MC easily could discard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 18:47:34 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2013-06-20T18:47:34Z</dc:date>
    <item>
      <title>Accessing a data file on the internet from mathcad worksheet</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101564#M40049</link>
      <description>We have a problem with some of the mathcad tools that data-file they come with needs to be periodicallyupdated. The easiest way would be if we could like a file reading function to an internet locationof the latest file. But it does not appear to work. Is there any way to make it</description>
      <pubDate>Thu, 03 May 2018 17:14:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101564#M40049</guid>
      <dc:creator>ebarsoukov</dc:creator>
      <dc:date>2018-05-03T17:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a data file on the internet from mathcad worksheet</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101565#M40050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have never used it but just gave it a try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READPRN failed, but&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu: Insert / Data / File_Input&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;worked with &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt; target, too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned vbscripts I'm assuming we are talking about real Mathcad (V15-).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 20:46:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101565#M40050</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2013-05-30T20:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a data file on the internet from mathcad worksheet</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101566#M40051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yevgen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading active_link" href="http://mathcadworksheets.blogspot.co.uk/2010/11/connecting-mathcad-to-internet-data.html" title="http://mathcadworksheets.blogspot.co.uk/2010/11/connecting-mathcad-to-internet-data.html"&gt;http://mathcadworksheets.blogspot.co.uk/2010/11/connecting-mathcad-to-internet-data.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 10:03:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101566#M40051</guid>
      <dc:creator>tdevaraj</dc:creator>
      <dc:date>2013-05-31T10:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a data file on the internet from mathcad worksheet</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101567#M40052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. That works, and with data input wizard it works even with differnt data files like binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how about being able to un-compress a file inside mathcad? Some web-sites only allow&lt;/P&gt;&lt;P&gt;to put files on the web if they are compressed in *.zip format. Is there any way to load the zip file&lt;/P&gt;&lt;P&gt;as binary (that works, I tried) and than un-compress it inside mathcad itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that zip compression has been around for long time, so its algorithm is well known.&lt;/P&gt;&lt;P&gt;Did anybody implement the decompression in mathcad yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Yevgen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:14:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101567#M40052</guid>
      <dc:creator>ebarsoukov</dc:creator>
      <dc:date>2013-06-20T18:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a data file on the internet from mathcad worksheet</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101568#M40053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;I know that zip compression has been around for long time, so its algorithm is well known.&lt;/P&gt;&lt;P&gt;Did anybody implement the decompression in mathcad yet?&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I've never seen an implementation and it wouldn't be that easy as there is not one but quite a lot of different compression algorithms possible in a zip-file. So you would be the first to implement a Mathcad zip decompression routine - if you finish, post it here please &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't provide the script but the best I could think of is fetch the zip-file in Mathcad and save it locally. Then, using a scripted component, decrompress is locally using one of the commandline decompression programs which sometimes accompany the zip-programs or maybe the GUI-version of your unzipper itself has a commandline mode.&lt;/P&gt;&lt;P&gt;Then you can load the unpacked file in MC the normal way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way would be to try to fool the website in question by simply renaming the datafile to *.zip. Maybe even adding the magic two bytes "PK" in front of the file (in case the website looks for that signature of Phil Katz), which MC easily could discard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:47:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101568#M40053</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2013-06-20T18:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a data file on the internet from mathcad worksheet</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101569#M40054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.800000190734863px; background-color: #f1f1f1;"&gt;Is there a way to load a binary file using similar method? I tried loading a binary file I get a string "d" as a result...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 16:49:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Accessing-a-data-file-on-the-internet-from-mathcad-worksheet/m-p/101569#M40054</guid>
      <dc:creator>ebarsoukov</dc:creator>
      <dc:date>2013-12-13T16:49:28Z</dc:date>
    </item>
  </channel>
</rss>

