Ion FileTransfer download

2 posts, 0 answers
  1. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2011

    Posted 19 Mar 2013 Link to this post

    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?
  2. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2011

    Posted 21 Mar 2013 Link to this post

    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.
Back to Top