public function startUpload($uploadId,$content)
    {
        $qry = new InvokePostMethodQuery($this->getResourcePath(),
            "StartUpload",
            array('uploadId' => $uploadId->toString()),
            $content);
        $returnValue = new ClientResult();
        $this->getContext()->addQuery($qry,$returnValue);
        return $returnValue;
    }
public function startUpload($uploadId,$content)
    {
        $qry = new InvokePostMethodQuery($this->getResourcePath(),
            "StartUpload",
            array('uploadId' => $uploadId->toString()),
            $content);
        $returnValue = new ClientResult();
        $this->getContext()->addQuery($qry,$returnValue);
        return $returnValue;
    }
public function startUpload ( $ uploadId , $ content ) { $ qry = new InvokePostMethodQuery ( $ this -> getResourcePath ( ) , "StartUpload" , array ( 'uploadId' => $ uploadId -> toString ( ) ) , $ content ) ; $ returnValue = new ClientResult ( ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ returnValue ) ; return $ returnValue ; }
Starts a new chunk upload session and uploads the first fragment
@param Guid $uploadId The unique identifier of the upload session.
@param string $content
@return ClientResult The size of the uploaded data in bytes.
Starts a new chunk upload session and uploads the first fragment