filetransfer.download seems working fine, but reader.readAsText never works for a downloaded HTML file for instance. My environment is Cordova2.0 iOS.
-
filetransfer.download works fine for any remote files.
I can see that using i-funbox file browser with my iOS device. -
reader.readAsText works fine for the other existing files.
-
however, reader.readAsText never works for downloaded files by filetransfer.download API.
How come does this happen?? Please advise.
After some struggle for a while, I use jQuery.load() + $(selector).html() function for remote html/text files extensively, instead of filetransfer.download + reader.readAsText, where it works fine.