Subject: | Closing of connections/Use of Multiple connections |
Date: | Wed, 27 Jun 2007 07:49:46 -0500 |
To: | <bug-Filesys-SmbClient [...] rt.cpan.org> |
From: | "Danny Nicholas" <danny [...] debsinc.com> |
I am using the 3.1 release of Filesys::SmbClient and 3.0.24 of
/usr/lib/samba/bin/smbclient. My Perl version is 5.8.6 (and 5.8.8). I've
tried this under GNU Linux and Solaris. My application wishes to poll 2 or
more servers and move files as they appear. By using
Filesys::SmbClient::Destroy, I can open the servers repeatedly, but can only
loop through 9 iterations, because Destroy only resets the Linux handles,
not the opened Linux/Windows process. A work-around is to use two programs
where program 1 "shells" to program 2 to open the connection, then let it
die because the shell stops, but the process should work "in-line".
Danny Nicholas
Digital Era Banking Services