Skip to content

bosticka/node-samba-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-samba-client

Node.js wrapper for smbclient

Requirements

Smbclient must be installed. This can be installed on OSX with brew install samba and on Ubuntu with sudo apt-get install smbclient.

API

var SambaClient = require('samba-client');

var client = new SambaClient({
  address: '//server/folder', // required
  username: 'test', // not required, defaults to guest
  password: 'test', // not required
});

// send a file
client.sendFile('somePath/file', 'destinationFolder/name', function(err) {});

// get a file
client.getFile('someRemotePath/file', 'destinationFolder/name', function(err) {})

About

Node.js wrapper for smbclient

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%