Unfortunately, it is not completely clear to me what exactly you would like to achieve. Could you please elaborate a bit more on this?
It seems you want to allow users to upload and download files. If that is the case, you can take a look at the Cordova FileTransfer Api
. It provides an API for both upload and download of files. However, the implementation depends strongly on the types of files you want to handle.
I am looking forward to your reply.