put URL error

Peter Haworth pete at lcsql.com
Sun Jan 4 19:52:05 EST 2015


It's a typo sorry, the // is there.
On Jan 4, 2015 3:27 PM, "Klaus major-k" <klaus at major-k.de> wrote:

> 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
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list