public function finishUpload($uploadId,$fileOffset,$content)
    {
        $qry = new InvokePostMethodQuery($this->getResourcePath(),
            "finishupload",
            array('uploadId' => $uploadId->toString(),'fileOffset' => $fileOffset),
            $content);
        $this->getContext()->addQuery($qry,$this);
        return $this;
    }
public function finishUpload($uploadId,$fileOffset,$content)
    {
        $qry = new InvokePostMethodQuery($this->getResourcePath(),
            "finishupload",
            array('uploadId' => $uploadId->toString(),'fileOffset' => $fileOffset),
            $content);
        $this->getContext()->addQuery($qry,$this);
        return $this;
    }
public function finishUpload ( $ uploadId , $ fileOffset , $ content ) { $ qry = new InvokePostMethodQuery ( $ this -> getResourcePath ( ) , "finishupload" , array ( 'uploadId' => $ uploadId -> toString ( ) , 'fileOffset' => $ fileOffset ) , $ content ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ this ) ; return $ this ; }
Uploads the last file fragment and commits the file.
The current file content is changed when this method completes.
@param Guid $uploadId
@param int $fileOffset
@param string $content
@return File
Uploads the last file fragment and commits the file . The current file content is changed when this method completes .