summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/amazons3.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/amazons3.php')
-rw-r--r--apps/files_external/lib/amazons3.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index ae306fac420..32669612890 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -184,6 +184,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$this->connection->putObject(array(
'Bucket' => $this->bucket,
'Key' => $path . '/',
+ 'Body' => '',
'ContentType' => 'httpd/unix-directory'
));
$this->testTimeout();