search for a file in a directory

Good day I would like to ask, If

how can I do this?

in my documents directory I would like to check If I have a specific file in there, and once I found that I have the file that I was looking, I will do something

example

search for a filename: “test.jpg”
 

look in the documents directory

If test.jpg is found display a text “Is Found”

Hi @vonncc123,

I suggest you check out the LFS library:

https://docs.coronalabs.com/api/library/lfs/index.html

Take care,

Brent

Hi @vonncc123,

I suggest you check out the LFS library:

https://docs.coronalabs.com/api/library/lfs/index.html

Take care,

Brent