original_string: protected function uploadChunked($path, $resource, $chunkSize = 8000000, $opts = []) {
          $location = $this->applyPathPrefix($path);
          try {
              $fileSize = Util::getStreamSize($resource);
              $localFile = $this->getStreamUri($resource);
  
              $file = $this->client->uploadChunked($localFile, $location, $fileSize, $chunkSize, $opts);
              return $this->normalizeResponse($file);
          } catch (DropboxClientException $e) {
              return false;
          }
      }
code: protected function uploadChunked($path, $resource, $chunkSize = 8000000, $opts = []) {
          $location = $this->applyPathPrefix($path);
          try {
              $fileSize = Util::getStreamSize($resource);
              $localFile = $this->getStreamUri($resource);
  
              $file = $this->client->uploadChunked($localFile, $location, $fileSize, $chunkSize, $opts);
              return $this->normalizeResponse($file);
          } catch (DropboxClientException $e) {
              return false;
          }
      }
code_tokens: protected function uploadChunked ( $ path , $ resource , $ chunkSize = 8000000 , $ opts = [ ] ) { $ location = $ this -> applyPathPrefix ( $ path ) ; try { $ fileSize = Util :: getStreamSize ( $ resource ) ; $ localFile = $ this -> getStreamUri ( $ resource ) ; $ file = $ this -> client -> uploadChunked ( $ localFile , $ location , $ fileSize , $ chunkSize , $ opts ) ; return $ this -> normalizeResponse ( $ file ) ; } catch ( DropboxClientException $ e ) { return false ; } }
docstring: This function uploads the file in chunks instead of whole file
docstring_tokens: This function uploads the file in chunks instead of whole file