You are here

public function MongoFile::save in One Click Upload 7.2

Merge all chunks to single file

Parameters

string $destination final file location:

Return value

bool indicates if file was saved

Throws

FileLockException

FileOpenException

\Exception

Overrides File::save

File

flowphp/src/Flow/Mongo/MongoFile.php, line 146

Class

MongoFile
Notes:

Namespace

Flow\Mongo

Code

public function save($destination) {
  throw new \Exception("Must not use 'save' on MongoFile - use 'saveToGridFs'!");
}