Very naive URL question

Mike Bonner bonnmike at
Sat May 27 10:30:54 EDT 2017

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 on a web server so it would make
more sense (and be safer) to just hit the web server itself
get URL ""  As long as the file is in the
actual http served hierarchy, it should work fine.  IF you are putting the
file outside of this hierarchy, then yes ftp must be used.  (I have a site
and have placed an sqlite database outside the public_html folder just to
keep it from being directly accessible0

On Sat, May 27, 2017 at 7:57 AM, Graham Samuel via use-livecode <
use-livecode at> wrote:

> 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,
> Mostly it serves web pages, which works fine. I decided to put a tiny text
> file onto the server at the same level as the .html pages, say myText.txt
> I had no difficulty uploading the file using Transmit, a good FTP client
> for the Mac. Now I want to write a statement in LiveCode that gets the text
> back, so I wrote in the message box:
> get URL “”
> This produced nothing in ‘it’ or in ‘the result’. So it was as if the URL
> command had never been issued.
> After a lot of fooling around I was told by a browser (Google Chrome) that
> I should have authenticated this FTP request with a user name and a
> password, which I have. My naive question is, how do I tell LC to do the
> authentication? I should say that this is entirely internal to the program,
> so any kind of user-completed dialog is a no-no.
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the use-livecode mailing list