replicate-http

Replicate remote files by webdav protocol.

npm install replicate-http
17 downloads in the last month

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

npm loves you