diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-12-20 13:48:46 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-12-20 13:48:46 +0100 |
commit | 1c0b8ed21421334fed1a699e52dbb5765b66f96d (patch) | |
tree | 5b7da81e84d46bcccb3fd53f3ac28fc6d5a70875 /lib | |
parent | dc45141f4abfedb10d6f908143b7a75e1ada6406 (diff) | |
download | nextcloud-server-1c0b8ed21421334fed1a699e52dbb5765b66f96d.tar.gz nextcloud-server-1c0b8ed21421334fed1a699e52dbb5765b66f96d.zip |
Adding a random postfix to the part file.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/connector/sabre/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php index 295575f0af6..d476e9fab14 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 |