Adding a random postfix to the part file.

This commit is contained in:
Thomas Müller 2013-12-20 13:48:46 +01:00
parent dc45141f4a
commit 1c0b8ed214
1 changed files with 1 additions and 1 deletions

View File

@ -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