Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dwdav

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dwdav

Provide some basic methods to upload file to Salesforce B2C Commerce webdav server

  • 3.5.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
decreased by-2.2%
Maintainers
2
Weekly downloads
 
Created
Source

dwdav

Provide some basic methods for working with DW webdav server using request

This is an under-the-hood library that is used by dwupload and dwlogs. Those are probably more likely what you're looking for.

Installation

:; npm install dwdav

Usage

var dwdav = require('dwdav')(config);

dwdav.get().then(function (res) {
	console.log(res);
});

config

Below are the default values for the config object.

  • hostname: localhost
  • username: admin
  • password: password
  • folder: Cartridges
  • version: version1
  • root: .

root option allows for path resolution of the file to upload relative to a directory. p12 allows for 2-factor authentication. self-signed allows for self-signed cert to be used.

API

All methods are promise-based, i.e. they return a promise.

  • propfind(filePath, root)
  • get(filePath, root)
  • post(filePath, root)
  • unzip(filePath, root)
  • postAndUnzip(filePath, root)
  • delete(filePath, root)
  • mkcol(filePath, root)

filePath is the path to a local file to be used.

FAQs

Package last updated on 27 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc