put URL error

Alex Tweedly alex at tweedly.net
Sun Jan 4 18:28:25 EST 2015


I think it should be

"http://www.lcsql.com/..."

i.e. note the // after the http:

No idea why that would matter, or why it would matter on Win and not on 
Mac, or ... but give it a try :-)

-- Alex

On 04/01/2015 23:19, Peter Haworth wrote:
> 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>
> _______________________________________________
> 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