Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-12-20 16:48:46 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-01-15 19:37:23 +0400
commit49969825ad221ede4e6d15efded91a3645793545 (patch)
tree381bd118dc9dd2d0e7432a20d0f340b84415f41d /lib
parent3b21499b3492445826f6f6274d5615502b892d90 (diff)
Adding a random postfix to the part file.
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php
index ab77d0a48a2..830c320f833 100644
--- a/lib/private/connector/sabre/file.php
+++ b/lib/private/connector/sabre/file.php
@@ -64,7 +64,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
}
// mark file as partial while uploading (ignored by the scanner)
- $partpath = $this->path . '.part';
+ $partpath = $this->path . rand() . '.part';
// if file is located in /Shared we write the part file to the users
// root folder because we can't create new files in /shared