[sorry if this finishes up being duplicated]
Here's a tiny LC file to download a JPEG (fixed file name to make it as
simple as possible) which should get you further ...
?lc
start using stack common.livecode
put URL(binfile:./family/threeofakind/2006_0314Image0021.JPG) into
tData
put
Thanks, Alex.
A question...
and write a simple LC script to check for ID / PWD -
I understand how to write the script, but not how to phrase the
results of the if conditional. What commands would the LC script
execute if the pwd/id are correct, so as to let the jpg file on the
server be
I don't have Android, so can't help with that part.
But just on principle, I wouldn't use URLs that encode my userid /
password in a way that could reveal them and hence allow someone
unlimited access to my site / account.
So I'd access the files by a URL more like
put
Hello.
On the desktop, this works:
put http://ID:p...@url.com/cgi-bin/dog.jpg; into tPath
set the filename of image img to tPath
On Android, it does not. Nor does this:
put http://ID:p...@url.com/cgi-bin/dog.jpg; into tPath
put urlEncode(tPath) into tPath
set the filename of image img to tPath