Get File Count

Hi
how can i get the number of files in specific directory?

Looks like we do not have a block for it (yet), but you can use the REST API:
https://backendless.com/docs/rest/file_get_file_count.html

Regards,
Mark

1 Like

will it be added? REST is blocked in my current security roles and i dont want to change that

Possibly. How can you block REST ?

the RestUser role have no access to anything in my application. only ServerCodeUser

That role is used only when rest API key used to make a call. If you use the code runner API key to make the API call, it will not use RestUser.

what is the rule for code runner? ServerCodeUser?

Yes

1 Like

got it working
Thanks @mark-piller