Download in custom directory in internal memory


#1

Hi, i’m using Transfer to download PDF file in my app.

My code is:

fileTransfer.download(url, cordova.file.dataDirectory + ‘Diagram.pdf’).then((entry)…

It works me ok, but the file is always saving at </Android/data/app-id/files>, I’m trying to save the file in my Internal Storage, specically in /Download directory.

Is there any way to do that?

Thanks!