replicate-http

0.1.4 • Public • Published

replicate-http

Copy remote files with webdav protocol by urls.

npm install replicate-http

Usage

Note that destination must support webdav PUT method.

var replicate = require("replicate-http"),
    from      = "http://pewpewpew.com/passwords.txt",
    to        = "http://backup.pewpewpew.com/passwords.txt";
 
replicate(from, to, function(error) {
    if (error) {
        throw error;
    }
 
    console.log("File successfully copied!");
});
 

Authors

Readme

Keywords

none

Package Sidebar

Install

npm i replicate-http

Weekly Downloads

2

Version

0.1.4

License

BSD

Last publish

Collaborators

  • bobrik