trans files, support dir

npm install transfile
3 downloads in the last week
12 downloads in the last month

//client var FileTransClient = require('transfile').FileTransClient; var client = new FileTransClient({}); client.on('open', function() { //send file to server client.sendFile(clientPath, serverPath); //send dir to server client.sendDir(clientPath, serverPath); //get file from server client.transFile(clientPath, serverPath); //get dir from server client.transDir(clientPath, serverPath); }

//server var FileTransServer = require('transfile').FileTransServer; new FileTransServer({});

npm loves you