node-samba-client
=================

Node.js wrapper for smbclient


Requirements
------------
Requires Node.js 10+
Smbclient must be installed. This can be installed on Ubuntu with `sudo apt-get install smbclient`.

API
-------------

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

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

	// send a file
	await client.sendFile('somePath/file', 'destinationFolder/name');

	// get a file
	await client.getFile('someRemotePath/file', 'destinationFolder/name');

node-samba-client
=================

Node.js wrapper for smbclient


Requirements
------------
Requires Node.js 10+
Smbclient must be installed. This can be installed on Ubuntu with `sudo apt-get install smbclient`.

API
-------------
```javascript
const SambaClient = require('samba-client');

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

// send a file
await client.sendFile('somePath/file', 'destinationFolder/name');

// get a file
await client.getFile('someRemotePath/file', 'destinationFolder/name');
```

Add syntax highlighting to readme example
Add syntax highlighting to readme example