Prevent modified date change when uploading a custom thumbnail
Our "Xara Online Designer" web application implements its own filepicker that presents a unified interface to the cloud providers we have integrated with our app (Google Drive, Dropbox and soon OneDrive).
Our servers generate thumbnails for our custom (.xar) file format, ensuring our picker can display thumbnails for our custom file-type. However we want to send those thumbnail images back to OneDrive, so they appear within the OneDrive web application (https://onedrive.live.com). To do this we make use of OneDrive's REST thumbnail operations ("Upload a custom thumbnail on an item" i.e. the "PUT /drive/items/{item-id}/thumbnails/0/source/content" operation).
Whilst this works correctly, it has the side-effect of changing the file's modified date. This is unexpected as we're only updating the file's meta-data and not the actual contents of the file i.e. we would only expect the file's modified date to change when the actual file contents are changed.
Is there any way we can prevent the modified date changing? if not we would be grateful if the OneDrive team could consider making this change,

1 comment
-
Dawid commented
Gut