I want my app to download a folder containing other folder and files in it to my app local storage such as resources:
App/Files/resources
If possible should download to a temp location and move it to final location and delete it from temp location.
I know this can barchieved easily with a click of a button. Will appreciate steps.
Thanks.
Hello Kasito,
Talking about Cordova's build applications, right now the only way to do something like you wanted is to use the Cordova's File plugin in addition to the Cordova's FileTransfer plugin. The "problem" is that right now these plugins are not included "out-of-the-box" in App Builder (we use the File plugin to support the FileRead and FileWrite actions however) and you must use it as any other non included "out-of-the-box" Cordova's plugin, that is, by directly use their Javascript APIs.
You can found various application samples that shown us how to use Cordova's plugins in our applications: SendSMS and CordovaPlugins are just a couple of them. There is a tutorial in the program's help file that talking about too. Then just go ahead and try it: if you need any further help don't hesitate to post it here or open a new forum's thread Kasito.
Hello to all,
Just to inform that the current release of DecSoft's App Builder added the new FileDownload action, as well the new "FileDownload" app sample. We can use this action to easily download files in both the app private storage or the user device storage.
Hope they can be useful!
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.