Re: Very naive URL question

2017-05-27 Thread Graham Samuel via use-livecode
Thanks Mike Somehow my testing managed to wreck the command, because when I reloaded LC 8.1.4 rc2, it worked, when neither my original call nor the Google one worked at all before. This is a bug in the IDE perhaps, since a bit of script testing should not affect what the Message Box can do. If

Re: Very naive URL question

2017-05-27 Thread Mike Bonner via use-livecode
If you have full reference to the file, and it works in your browser, you should be able to put "http://your.domain.com/text.txt"; and have it appear in the msg box If you use "get" it'll put the page into "it'. Even if the server returns an error, it'll end up in "it" so the result being empty is

Re: Very naive URL question

2017-05-27 Thread Graham Samuel via use-livecode
Thanks Mike - I take your point about having the password etc embedded, so I am going for your “http” solution. I had naively thought that “http” was exclusively involved in the serving of web pages, and i imagined that a simple text file isn’t one of those. Thanks to you, I now know better. An

Re: Very naive URL question

2017-05-27 Thread Mike Bonner via use-livecode
You can embed a username and password in the request, I believe the form is ftp://*username*:*password*@hostname/.. this can be dangerous though, so i'm not sure you should necessarily do that. If you can set up a read only ftp account, that might be ok. In this case though, you're placing a file

Very naive URL question

2017-05-27 Thread Graham Samuel via use-livecode
Hi - I’m using LC 8.1.4 rc2 Indy on a Mac with Sierra. I am confused about something so fundamental that I am embarrassed to have to ask for help, but there it is… I own a website, www.mydomain.com Mostly it serves web pages, which works fine. I decided to put a tiny text file onto the server