Hi Dears,
My application stores users datas in a SQLite database located in File.Dirinternal. (and initially downloaded from Dropbox at login creation)
When I upload this DB to Dropbox from this File.Dirinternal, all tables are empty while datas are populated in the application (!)
Is there a magical property of File.Dirinternal I missed somewhere ?
It's like there is another "shadow" copy of this DB where datas are populated ?!
Code to upload is quite simple :
Thanks !
My application stores users datas in a SQLite database located in File.Dirinternal. (and initially downloaded from Dropbox at login creation)
When I upload this DB to Dropbox from this File.Dirinternal, all tables are empty while datas are populated in the application (!)
Is there a magical property of File.Dirinternal I missed somewhere ?
It's like there is another "shadow" copy of this DB where datas are populated ?!
Code to upload is quite simple :
B4X:
Dim filename As String
filename="/Users/DIR_" & sf.Trim(sf.Upper(email.Text))
If File.Exists(File.DirInternal,"poidsww.db") Then
dbx.upload(File.DirInternal,"poidsww.db",filename,"poidsww.db")
End If
Thanks !
Last edited: