put URL error

Klaus major-k klaus at major-k.de
Sun Jan 4 18:26:53 EST 2015


Hi Peter,

> Am 05.01.2015 um 00:19 schrieb Peter Haworth <pete at lcsql.com>:
> 
> 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"

if this is not a typo, then the Mac is obviously smart enough to ignore the 
two missing SLASHES and Windows isn't :-)


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

If that is just a typo, then I have no clue 8-)

> 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

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list