b2c-webdav

Manage Salesforce B2C Commerce WebDAV files via the b2c webdav CLI.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-webdav
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-webdav
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c-cli/skills/b2c-webdav
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-webdav

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers and operators to manage Salesforce B2C Commerce instance files via WebDAV from the CLI, making it easier to access logs, upload to IMPEX directories, and manage cartridges and static resources without a web UI.

Core Features & Use Cases

  • List and browse files across WebDAV roots (impex, logs, cartridges, static, realmdata, catalogs, libraries, etc.) from the command line.
  • Download logs, error files, and other assets for offline analysis.
  • Upload files and manage directories in IMPEX, cartridges, and other roots using straightforward CLI commands.
  • Use-case example: fetch the latest error log from the logs root for troubleshooting, then pull a file to share with a teammate.

Quick Start

Use the b2c webdav commands to list, download, and manage logs and files.

  • b2c webdav ls --root=logs
  • b2c webdav get customerror-blade0-1-appserver-20240115.log --root=logs -o -
  • b2c webdav put ./local-export.zip --root=impex/src/exports

Frequently Asked Questions about b2c-webdav

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download Salesforce B2C Commerce logs from the command line?

To list WebDAV directories on a Salesforce B2C Commerce instance, use the b2c webdav ls command with the appropriate --root flag, such as --root=impex, --root=logs, or --root=cartridges.

Can I upload files to the IMPEX directory using a CLI?

You can manage B2C cartridges via WebDAV from the CLI by using the b2c webdav commands with the --root=cartridges flag to list, upload, and organize cartridge files without needing a web UI.

What is the best way to manage B2C WebDAV files without a web UI?

The b2c webdav command supports flags such as --root to specify the WebDAV root, --json to format output as JSON, and -o to redirect output, enabling automated file management and log parsing.

Does the b2c webdav CLI support outputting file listings as JSON?

Yes, the b2c webdav CLI supports outputting file listings as JSON by appending the --json flag to your command, which is useful for scripting and automating B2C Commerce file management tasks.