I got to call a function for download multiples files and store it in File.DirAssets.
The list of files are variable (can be mp3, jpg, mp4, etc..).
it possible to call a funcion with a wildcard (like *)?
I know to call to a function is possible with a Job, but files in the directory on the server can be variables (ex: 1 mp3, 2 jpg, 1 avi, or 2 mp3, 4 jpg, 1 avi....)
Unless your http server supports such a feature then it is impossible. You can switch to FTP which does allow you to list the files. However this means that you need to run a FTP server on the server side.