目的开发机使用了跳板机,不能直接使用scp将本地文件发送到开发机上,需开发机上配置receiver.php来接收文件使用npm install --save-dev rongdeployvar rongdeploy = require("rongdeploy"); rongdeploy({ // Object={ // receiver: "http://10.12.17.44/receiver.php" 接收文件的接口 // from: path.join(__dirname,"../test") 源目录,完整路径 // to: "/home/rong/www/test" 目标目录,服务器路径 // exclude : /..(?:svn|cvs|tar|rar|psd)./ 排除的文件正则匹配表达式 // } });2 dependencies1 dependent5 versionsform-datarecursive-readdir@everything-registry/sub-chunk-26820.0.56 years ago0.0.46 years ago0.0.36 years ago0.0.26 years ago0.0.16 years ago