#1 2016-11-18 23:17:57

Kasito
Banned
Registered: 2016-08-05
Posts: 58

How do I download a folder from app server

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.

Offline

#2 2016-11-19 11:43:14

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: How do I download a folder from app server

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.

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.