NAME

Filesys::SmbClient::FileHandle - Interface for accessing samba filesystem with libsmbclient.so

SYNOPSIS

use Filesys::SmbClient;

my $smb = Filesys::SmbClient->new(username => "guest",
                                  share => "test",
                                  workgroup => "mygroup");

my $fh = $smb->open(">myfile.txt", 0644);

$fh->write $buf2, 50;

$fh->close();

DESCRIPTION

This class provides access to the libsmbclient.so API using IO::Handle methods. Since not all methods map directly to SMB mechanisms, some methods are unimplemented:

  • open - use parent open method

  • fileno

  • getc

  • sysread

  • syswrite

  • fdopen

  • getline

  • getline

  • ungetc

  • sync

  • flush - no-op

  • blocking

  • untaint

SEE ALSO

Consult the IO::Handle documentation for the specifics of the class methods.

COPYRIGHT

The Filesys::SmbClient::FileHandle module is Copyright (C) 2010 Philip Prindeville, Redfish Solutions. philipp at cpan.org. All rights reserved.

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.