put URL error

Peter Haworth pete at lcsql.com
Mon Jan 5 00:19:25 CET 2015


As part of checking for updates in my products, I go get a file that has
the latest version of the product and compares it to the installed version,
pretty common logic.

The sequence of commands is:

put URL (the cVersionFile of me) into tVersionInfo
if the result is not empty then
   return the result
else
   < check the version etc>
end if

cVersionFile contains "http:www.lcsql.com/<path to the version file"

This works fine on my Mac but has been failing on my Windows 8 machine with
the result containing "invalid host name".

I put the same URL into my browser on the Windows 8 machine and saw the
contents of the file displayed in the browser.

Is this some strange Livecode problem or a Windows 8 config issue?  I don't
have access to another Windows box to check the latter.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


More information about the use-livecode mailing list