Forum Discussion

geebs's avatar
geebs
Visitor
13 years ago

Test if URL image exists

New at brightscript.

using this variable:
myimage = "http://192.168.1.100/images/bigimage.jpg"

i just need a way to test if the file exists or not.

something like
result = doesFileExists(myimage)

result can be boolean true/false, or better if the file exists, result holds the URL, otherwise result is null.

Any help? I'm struggling with the docs and cant find any examples. Thanks.
No RepliesBe the first to reply