Hi,

Im trying to get some files using Filesys::SmbClientParser module but, I got this error when i run the script,

sh: -c: line 1: unexpected EOF while looking for matching `''
sh: -c: line 2: syntax error: unexpected end of file

it seems to work fine when i use "get", but if i try to use "mget" then the script fails, so i think that Im not using the proper syntax for "mget", could anyone help me on this.

Thanks

#!/usr/bin/perl

use warnings;
use strict;

use Filesys::SmbClientParser;

my $smb = new Filesys::SmbClientParser;
$smb->Host('mhost');
$smb->User('muser');
$smb->Share('mshare');
$smb->Password('mpass');

$smb->mget("*");

_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls. http://join.msn.com/?page=features/parental



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to