Thank you for your detailed response. Kees picked up two important points that your response talks about. You seem to be programming carefully, taking care about problems to do with multi-access. I am slightly concerned with how your VFS works but I have no experience with writing VFS, and your VFS unusual in that it does network access. I don't know how this might complicate the inner workings of SQLite. I can only wish you good luck.