Download file from WebApp

I cant seem to figure out how to get the browser to download a file from a web app. For example say I have a ZIP file I want the user to download when they click a button how would one do that?

There is an example on the WebFile page that ought to get you started.

Perfect thank you!

Tried using this on an array of files. It only downloaded the last one

Don’t do that in a loop. Use a timer instead.