ionic-3-file-transfer-example
ionic-3-file-transfer-example copied to clipboard
Not able to save image in externalRootDirectory path
I saved image in all directory path like cordova.file.externalApplicationStorageDirectory,cordova.file.externalDataDirectory,cordova.file.applicationStorageDirectory,cordova.file.applicationStorageDirectoryetc but whenever i try to save in externalRootDirectory path it is showing error "download failed pug.jpg was not successfully download/ error code 1. I am using real device .
Hi @ajaysaini95700, I haven't tried it with externalRootDirectory
so not exactly sure - are you getting a permissions error as well (as I know you need to specify permissions for things like writing outside of local env.
Alternatively it may just be a path issue. You could try post the problematic code here or as a question on the Ionic 2 Forums and hopefully it'll be resolved quick
I did permission for accessing external directory but still not able to save image
On 22 Mar 2017 3:19 p.m., "daniel seán griffin" [email protected] wrote:
Hi @ajaysaini95700 https://github.com/ajaysaini95700, I haven't tried it with externalRootDirectory so not exactly sure - are you getting a permissions error as well (as I know you need to specify permissions for things like writing outside of local env.
Alternatively it may just be a path issue. You could try post the problematic code here or as a question on the Ionic 2 Forums https://forum.ionicframework.com/c/ionic-2 and hopefully it'll be resolved quick
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dsgriffin/ionic-2-file-transfer-example/issues/8#issuecomment-288348228, or mute the thread https://github.com/notifications/unsubscribe-auth/ARoHlRnlERhyFTHPZBqKUCbaoxrgh8eBks5roO7CgaJpZM4Mjgok .