Android Question Check for change in file on a Server

Discussion in 'Android Questions' started by omoba, Apr 26, 2015.

  1. omoba

    omoba Active Member Licensed User


    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?

  2. barx

    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....
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice