Skip to content

sbuller/node-smbopenr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

node-smbopenr

Provide an fd for a given smb path

A path should be provided in the form '//server/share/…'. No provision is made for anything other than guest access. Win32 systems will open the path directly, unix platforms need smbget installed which will be used to copy the remote file into a local tmp file.

const smbopenr = require('smbopenr')
smbopenr('//server/share/path', (err, fd)=>{
	// Do all your favourite fd things here.
	// Unless you want to do something other than read.
	// This is only for reading.
})

About

SMB open for read cross-platform abstraction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published