Skip to content
Replicate remote files by webdav protocol.
JavaScript
Latest commit e93820f May 16, 2013 @bobrik bobrik fire callback only once
Failed to load latest commit information.
.gitignore first working commit May 13, 2013
README.md fixed readme May 13, 2013
index.js fire callback only once May 16, 2013
package.json fire callback only once May 16, 2013

README.md

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

Something went wrong with that request. Please try again.