Ionic 2 File Transfer


#1

So i can download/upload the file from/to server. But is there a way to check if file has changed in server and if yes then download it.

(P.S This is my first post. So sorry if i screw up the topic name or category)


#2

A really common way of checking a file for changes, is either using a date time changed (not reliable) - or a CRC check (very reliable). Look up generating a file CRC and then checking the CRC of a local vs remote file to see if it’s changed.


#3

Thank you it worked.