I made a static website hosted on an AWS s3 bucket.
I do not know the tools and technology around web development, but I took an example of index.html co
Is it possible to use a filter or RegEx as "*.csv"?
No.
While URLs can be generated by mapping files and directories from a filesystem to URLs, a URL isn't a directory.
There is no way to glob URLs.
You could ensure that the server, when asked for ./
returns a list of URLs and then parse and filter it with client-side JS, and then request each of those URLs (probably using Promise.all
to determine when you had a response for every one of those requests).
You could also write server-side code to concatenate all the CSV data so you only have to make one request.