                     else
                         opts.cb(undefined, new Buffer(resp.result.base64, 'base64'))
 
+    remote_is_ready: (opts) =>
+        opts = defaults opts,
+            targets : required    # ['id_addr:port', 'ip_addr:port', ...]
+            cb      : required
+        @action
+            action  : 'remote_is_ready'
+            param   : ["--remote=#{opts.targets.join(',')}"]
+            timeout : opts.timeout
+            cb      : (err, r) =>
+                opts.cb(err, r?.result)
+
+
     copy_path: (opts) =>
         opts = defaults opts,
             target_hostname   : required

            opts.cb(err, data)
        )


    # copy a path from this project to another project
    copy_path: (opts) =>

    	x.c.repair(dryrun:true, cb:(e,projects)->console.log("DONE",e);x.projects=projects)
        x.projects.length

        status=[];x.c.repair(limit:10, status:status,dryrun:false,cb:(e,projects)->console.log("DONE",e);x.projects=projects)

    ###
    repair: (opts) =>
