b2c-webdav_skill

This skill helps you manage files on B2C Commerce WebDAV from the command line, enabling listing, uploading, downloading, and folder operations.
  • TypeScript

20

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill salesforcecommercecloud/b2c-developer-tooling --skill b2c-webdav

  • SKILL.md3.4 KB

Overview

This skill provides WebDAV file management for Salesforce B2C Commerce instances via the b2c CLI. It lets you list, download, upload, create directories, delete, and zip/unzip files across WebDAV roots such as impex, cartridges, catalogs, static, and logs. Use it to script or interactively manage files on instance file systems when working with imports, cartridges, catalogs, or temporary storage.

How this skill works

The skill operates as a b2c CLI plugin under the webdav topic and targets different WebDAV roots via the --root flag (impex, cartridges, temp, catalogs, static, logs, etc.). Commands include ls, get, put, mkdir, rm, zip, and unzip, with options for JSON output, custom local paths, and stdout streaming. It works equally well with npx if the b2c CLI is not installed globally.

When to use it

  • Upload or download IMPEX files for imports and exports.
  • Manage cartridges and code version directories on the cartridges root.
  • Inspect or manipulate files in catalogs, static assets, or libraries.
  • Create temporary folders, remove stale files, or manage realmdata.
  • Zip or unzip remote directories without downloading locally first.

Best practices

  • Prefer b2c-logs for log exploration and real-time tailing instead of using the logs WebDAV root.
  • List a target path (b2c webdav ls) before destructive actions like rm to avoid accidental deletions.
  • Use the correct root flag; cartridge paths must be specified as {code-version}/{cartridge-name} when using --root=cartridges.
  • Stream files to stdout (-o -) for quick inspections in scripts or CI without creating temp files.
  • Use JSON output for machine parsing when automating workflows (b2c webdav ls --json).

Example use cases

  • Upload a new cartridge archive into the cartridges root prior to deployment.
  • Download an exported site archive from impex for local processing or backup.
  • Create a temp directory and upload transient files needed by an import job.
  • Remove old exports or temporary files to reclaim space on the instance.
  • Zip a remote folder of static assets to transfer or inspect as a single archive.

FAQ

Use the cartridges root and the path format {code-version}/{cartridge-name}, e.g. b2c webdav rm v25_1_0/app_mysite --root=cartridges.

Can I use the CLI without installing b2c globally?

Yes. Run commands with npx @salesforce/b2c-cli webdav <command> if the CLI is not installed globally.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
b2c-webdav skill by salesforcecommercecloud/b2c-developer-tooling | VeilStrat