Bulk Update Function
When enabling ownCloud at a later stage or if something went wrong, we want to have a bulk update feature which makes sure that Drupal is up-to-date with all the files from ownCloud. This is how this could work:
- Ask Drupal about all IDs and timestamp that it is aware of
- Then ownCloud should work through the list and...
- submit all missing files
- delete files that are no longer available at ownCloud
- update all files where the timestamp from Drupal is too old