diff --git a/apps/dav/lib/connector/sabre/file.php b/apps/dav/lib/connector/sabre/file.php
index b7e2108db3b73c1486a5a7451f5d8d94db00d9cf..b71c4ccc621d8c39e655748650fdef689545fbd4 100644
--- a/apps/dav/lib/connector/sabre/file.php
+++ b/apps/dav/lib/connector/sabre/file.php
@@ -457,6 +457,14 @@ class File extends Node implements IFile {
 
 				$this->fileView->changeLock($targetPath, ILockingProvider::LOCK_SHARED);
 
+				if (isset($request->server['HTTP_OC_CHECKSUM'])) {
+					$checksum = trim($request->server['HTTP_OC_CHECKSUM']);
+					$this->fileView->putFileInfo($targetPath, ['checksum' => $checksum]);
+				} else if ($this->getChecksum() !== NULL && $this->getChecksum() !== '') {
+					$this->fileView->putFileInfo($this->path, ['checksum' => '']);
+				}
+				$this->refreshInfo();
+
 				$this->emitPostHooks($exists, $targetPath);
 
 				$info = $this->fileView->getFileInfo($targetPath);