Filesys::SmbClientFilesys::SmbClient is a Perl interface for access Samba filesystem with libsmclient.so | |
Download |
Filesys::SmbClient Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Alain BARBET
- Publisher web site:
- http://search.cpan.org/~alian/
Filesys::SmbClient Tags
Filesys::SmbClient Description
Filesys::SmbClient is a Perl interface for access Samba filesystem with libsmclient.so Filesys::SmbClient is a Perl interface for access Samba filesystem with libsmclient.soSYNOPSIS use POSIX; use Filesys::SmbClient; my $smb = new Filesys::SmbClient(username => "alian", password => "speed", workgroup => "alian", debug => 10); # Read a file my $fd = $smb->open("smb://jupiter/doc/general.css", '0666'); while (defined(my $l= $smb->read($fd,50))) {print $l; } $smb->close(fd); # ...See section EXAMPLE for others scripts.Provide interface to access routine defined in libsmbclient.so provided with Samba.Since 3.0 release of this package, you need a least samba-3.0.2. For prior release of Samba, use Filesys::SmbClient version 1.x.For old and 2.x release, this library is available on Samba source, but is not build by default. Do "make bin/libsmbclient.so" in sources directory of Samba to build this libraries. Then copy source/include/libsmbclient.h to /usr/local/samba/include and source/bin/libsmbclient.so to /usr/local/samba/lib before install this module.If you want to use filehandle with this module, you need Perl 5.6 or later.When a path is used, his scheme is : smb://server/share/rep/doc Requirements: · Perl
Filesys::SmbClient Related Software