We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe78fe9 + 26aa01e commit a2c2389Copy full SHA for a2c2389
apps/files/js/file-upload.js
@@ -242,6 +242,10 @@ OC.FileUpload.prototype = {
242
// TODO: if fails, it means same id already existed, need to retry
243
} else {
244
chunkFolderPromise = $.Deferred().resolve().promise();
245
+ var mtime = this.getFile().lastModified;
246
+ if (mtime) {
247
+ data.headers['X-OC-Mtime'] = mtime / 1000;
248
+ }
249
}
250
251
// wait for creation of the required directory before uploading
0 commit comments