Get file count: glob expression

I do not get the same result for the following API calls:

  1. …/files/web?action=count&pattern=*.html&sub=true&countDirectories=false → 5
  2. …/files/web?action=count&pattern=glob:*.html&sub=true&countDirectories=false → 0

But according to the documentation I should: „[…] if the prefix format is not specified, Backendless treats the pattern as glob.“ - what am I doing wrong?

Hi, @sdanieli

Thank you for reporting the issue. I was also able to reproduce it as well, an internal ticket was created - BKNDLSS-27437. As a temporary workaround, I might suggest that you don’t specify the glob template in the query.

Regards,
Marina