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;
        }
    }