SQLite Upload/Download code.