iOS Question Download files

Alberto SN

Member
Licensed User
Hi!

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....)

Thank you for the help!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You cannot write to File.DirAssets. Use a different folder.

it possible to call a funcion with a wildcard (like *)?
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.
 
Upvote 0
Top