The WebDAV extension makes it easy to compare and upload files to a remote WebDAV server.
Commands added by this extension:
- WebDAV: Compare (
extension.webdavCompare
) - WebDAV: Upload (
extension.webdavUpload
)
To configure one or more remote endpoints, add a webdav.json
to your project root. In this file you can define the endpoints based on one or more folders.
Key | Value |
---|---|
The path, relative to webdav.json, that corresponds to the root of the WebDAV endpoint |
|
{
"/frontend/www": {
"url": "https://webdav.example.com/"
},
"/another-frontend/www": {
"url": "https://webdav2.example.com/",
"ignoreSSLErrors": true
}
}
The first time you connect to a new remote endpoint this extension will ask for a username and password. These credentials will be stored in the system's keychain (using the keytar
library). On macOS the passwords are managed by the Keychain, on Linux they are managed by the Secret Service API/libsecret, and on Windows they are managed by Credential Vault.