cloud-storage-web

Installation
Summary

Web-based file upload, download, and management for CloudBase cloud storage via the JavaScript SDK.

  • Supports four core operations: uploading files from browsers with progress tracking, generating temporary download URLs, deleting files, and downloading to local storage
  • Requires CORS configuration in CloudBase console; add your frontend domain to security domains to prevent errors
  • Uses file IDs in the format cloud://env-id/path/filename and supports folder hierarchies with / separators
  • Includes error handling patterns and best practices for file organization, cleanup, and security domain whitelisting
SKILL.md

Standalone Install Note

If this environment only installed the current skill, start from the CloudBase main entry and use the published cloudbase/references/... paths for sibling skills.

  • CloudBase main entry: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md
  • Current skill raw source: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/cloud-storage-web/SKILL.md

Keep local references/... paths for files that ship with the current skill directory. When this file points to a sibling skill such as auth-tool or web-development, use the standalone fallback URL shown next to that reference.

Cloud Storage Web SDK

Activation Contract

Use this first when

  • A browser or Web app must upload, download, or manage CloudBase storage objects through @cloudbase/js-sdk.
  • The request mentions uploadFile, getTempFileURL, deleteFile, or downloadFile in frontend code.

Read before writing code if

Related skills

More from tencentcloudbase/skills

Installs
773
GitHub Stars
58
First Seen
Jan 22, 2026