Cordova code to DOWNLOAD A FILE UNTO AN iOS DEVICE

Hi everyone,
I need cordova code to DOWNLOAD A FILE UNTO A DEVICE.
The code must create a directory and download the file in there.
I am direly in need of that functionality (DOWNLOAD A FILE UNTO A DEVICE and urgently need help.
Can someone help please?

@reid - you might get more response if you gave a bit more information. Where are you downloading from? What kind of file is it? What do you want to do with it?

ANSWERS
Where are you downloading from?
https://www.webhubgh.com/pladmin/apis/downloadforme1.php?
filetodownload=http://www.webhubgh.com/prayerlib/books/ebook/vol1/looks.css

What kind of file is it?
A text file and then later I will try an mp4 audio file

What do you want to do with it?
I want to store it in either a secure directory or installation folder of the app on the device

Thanks

This goes beyond the scope of the support we provide here for VoltBuilder - it’s really a JavaScript application issue.

I’m sure there are others on this board who are doing similar tasks.