RE: Problem with Win32::FileOp->Disconnect

2009-06-18 Thread Oeschey, Lars (I/ET-83, extern)
> Try to disconnect the drive letter, not the share. I think if you > specify the share, it breaks the connection (the server will no > longer see this computer among the connected ones, no files will be > open etc.), but doesn't remove the drive letter mapping. I'm trying to catch both possib

Re: Problem with Win32::FileOp->Disconnect

2009-06-18 Thread Jenda Krynicky
From: "Oeschey, Lars (I/ET-83, extern)" > I'm writing a simple network copy script, but fail at disconnecting an > already connected drive. I got this so far: > > snip > use strict; > use warnings; > use Win32::FileOp; > > my $user="xx"; > my $password="xx

RE: Problem with Win32::FileOp->Disconnect

2009-06-18 Thread Ramkumar
tern) Sent: Thursday, June 18, 2009 2:09 PM To: activeperl@listserv.ActiveState.com Subject: Problem with Win32::FileOp->Disconnect Hi, I'm writing a simple network copy script, but fail at disconnecting an already connected drive. I got this so far: snip--

Problem with Win32::FileOp->Disconnect

2009-06-18 Thread Oeschey, Lars (I/ET-83, extern)
Hi, I'm writing a simple network copy script, but fail at disconnecting an already connected drive. I got this so far: snip use strict; use warnings; use Win32::FileOp; my $user="xx"; my $password="xx"; my $path="deaudiis0957\\oeschela\$"; my $letterma