How to use ListFile to get all files with prefix


#1

Hi everyone.

How do I use listFile to get all files with a specific name?

ie. file01.json, file02.json, state.json, cars.json
I would like to load user profile and get user data from all files starting with ‘file’


#2

You’ll need to filter by prefix with the listFiles callback argument.


#3

Hey Jude, thank you.

Could you share an example? :slight_smile: