Android Question Check for change in file on a Server

omoba

Active Member
Licensed User
Hi,

My app downloads a database file every month from my server to run.

When the app is opened the app checks to see if the month has changed ----If month has changed, new database file is downloaded; if month has not changed, the app runs using old database file.

Now my challenge,
There is a chance that the database file might be updated on the server during the month and since my app only downloads database file when month has changed there is now way for the app to download the updated database file during the month.

Pls any ideas.

Is there a way for me to monitor the date/time a file is created on the server?

Thanks
 

barx

Well-Known Member
Licensed User
maybe create a text file that contains the version and check that before download, or a html or php page that returns the version number....
 
Top