How to reference HTML page cached on local HDD within script
Posted: 2015-10-12 10:57:00
I have created a crude script to pull down * ratings from a website into a custom field in my catalog.
It works, but I don't really want to hammer the site with queries. Since the script points to a static address/webpage, I have saved the the single page of HTML code to my HDD.
How can I refernence that instead? Changing the "GetPage" value as below returns a 404 not found error.
page := GetPage('file:///D:/amctest/3.5%20star.htm');
page := GetPage('D:\amctest\3.5 star.htm');
Is there another function I need to use in order to query local hosted files / plain text?
Thanks!
It works, but I don't really want to hammer the site with queries. Since the script points to a static address/webpage, I have saved the the single page of HTML code to my HDD.
How can I refernence that instead? Changing the "GetPage" value as below returns a 404 not found error.
page := GetPage('file:///D:/amctest/3.5%20star.htm');
page := GetPage('D:\amctest\3.5 star.htm');
Is there another function I need to use in order to query local hosted files / plain text?
Thanks!