Narcoleptic Programmers' Medicine

    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

    Keywords

    none

    Install

    npm i replicate-http

    DownloadsWeekly Downloads

    2

    Version

    0.1.4

    License

    BSD

    Last publish

    Collaborators

    • bobrik