title: Synching files between IOS device and database
body: <p>I'm working on an IOS-application, in which I send and receive files (text files) to and from a database. One of the requirements is that you can still "send" files when you're not connected to the internet (or cellular data).</p>
  
  <p>The idea I had was, when you were to send a file while you're not connected to the internet, it would save the file locally. Then, when you send a file when you do have an internet connection, it would take all the files that were saved locally and send them all at once. Problem is, how do I discriminate between the files that I already downloaded from the database and the files that I still need to upload?</p>
  
  <p>Any ideas are welcome. And if you have a better solution for this problem, I'll be glad to hear it.</p>
  
  <p>With kind regards,
  Björn</p>