What is WebDAV in B2C Commerce and what is it used for?
Suggested answer
WebDAV (Web Distributed Authoring and Versioning) is the HTTPS-based file protocol used to transfer files between a developer's machine and the B2C Commerce platform. It functions like a remote file system mounted over HTTPS.
Developers use WebDAV for:
1. Code deployment — uploading cartridge zip files to /on/demandware.servlet/webdav/Sites/Cartridges/[version]/
2. Static content — managing images, CSS, and client-side JS in the Impex folder
3. Data import/export — placing XML import files in /on/demandware.servlet/webdav/Sites/Impex/src/ for processing by jobs
4. Log retrieval — reading server logs from /on/demandware.servlet/webdav/Sites/Logs/
Common WebDAV clients include Cyberduck and the Prophet Debugger VS Code extension. WebDAV access requires a Business Manager user with the WebDAV Services permission. Many CI/CD pipelines use the sfcc-ci CLI to automate code uploads via WebDAV.
Practice content for interview preparation; not an official vendor answer. Verify details against current product documentation.
Community comments (0)
No comments yet.
Sign in or create a free account to add a comment. Comments are moderated before they appear.