aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/lib/amazons3.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 60d2677ddda..c82b7391021 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -416,7 +416,8 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$result = $this->connection->putObject(array(
'Bucket' => $this->bucket,
'Key' => $this->cleanKey($path),
- 'Metadata' => $metadata
+ 'Metadata' => $metadata,
+ 'Body' => ''
));
$this->testTimeout();
}