AnsweredAssumed Answered

Strange error: "File already open" on iOS?

Question asked by Mike_Mitchell Expert on Oct 14, 2013
Latest reply on Oct 15, 2013 by Mike_Mitchell

Good day. I'm working on an app that pulls in the previous version's data using a connector file, similar to a sync protocol. This is working fine on the desktop and on my iPad, running iOS 7. However, on my wife's iPod, running iOS 6, I'm getting a very strange error: "The file [filename] could not be opened because it is already open." The code in question is trying to run a script in the file being called out.


I've triple-checked all the file references, and they're all of the form "file:filename". The databases are all in the same location. And, as I said, this works fine on iOS 7. Very strange.


Has anybody seen behavior like this? Any clues as to why this might be happening? It stops the script and brings up the file browser on Go, which is, of course, completely unacceptable in the middle of an update routine.