This is a migrated thread and some comments may be shown as answers.

Ion FileTransfer download

1 Answer 36 Views
AppBuilder companion app
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 19 Mar 2013, 09:50 PM
I have an app developed in Icenium that works on Android phone & tablet. when I try the same code on an ipod touch the local folder says it is created OK (.getDirectory(folder,{create: true},....) but when i try and download a file from a web site Ion just closes without warning or error message!!

The folder the  window.requestFileSystem has returned with the local filename added is: var/mobile/Applications/43499542-CA31-4A80-B7F9-B1AF35269871/Documents/test.jpg

I have tried different variations of folder & filename and wanted to know if should this work in Ion or are there restrictions before i try and debug further?

1 Answer, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 21 Mar 2013, 10:28 AM
I got it to work with some trial and error.

The download does work, i was passing the fileName option to the download method, for some reason IOS didn't like it, it but Android did. When i removed it it started working.
Tags
AppBuilder companion app
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Share this question
or