Hi, I have an application that downloads a DB onto my iPad. Everything works fine when the download is not interrupted but when I loose wifi connectivity, the db that is being downloaded gets corrupted and is not usable. I get an error but am unable to use pcall or to test for a nil value. How do I track the error so that I can actually correct the situation. This is the error message I get when trying to sqlite3.open( path )
Runtime error
file is encrypted or is not a database"
Please help. [import]uid: 97768 topic_id: 35440 reply_id: 335440[/import]