Actually, I would recommend Win32::FileOp over Win32::Lanman if you aren't
familiar with it.  It's a very good but very large module, and it's worth
taking some time with the documentation before you try implementing it right
away.  Once you get used to the way they manage data structures, it's very
easy to use, but like I said, look at the extensive documentation.

-----Original Message-----
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 2:02 PM
To: [EMAIL PROTECTED]
Subject: RE: Directory Handle - Network Math NOT mapped


From: Timothy Johnson <[EMAIL PROTECTED]>
> Network paths that require a logon is a tougher one.  On Windows I
> would probably just map the drive.  If you want to go down that road
> you can check out Win32::Lanman's NetUseAdd() function.  It's a huge
> module, but it has just about every Win32 networking API there is.

Both Win32::Lanman and Win32::FileOp allow you to connect a share 
without assigning a drive letter.

        use Win32::FileOp qw(Map);
        Map '' => '\\\\server\share', 
                {user => $username, passwd => $password}
                or die "Can't connect the share : $^E\n";

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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

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

Reply via email to