RE: Problem with NetResource::CancelConnection

2005-07-27 Thread Gianvittorio Negri
regards -Original Message- From: [EMAIL PROTECTED] on behalf of Chris Wagner Sent: Wed 7/27/2005 5:54 AM To: perl-win32-admin@listserv.ActiveState.com; perl-win32-users@listserv.ActiveState.com Cc: Subject: Re: Problem with NetResource::Cancel

Re: Problem with NetResource::CancelConnection

2005-07-26 Thread Chris Wagner
I'm not totally sure what u want to do here but if it's just logging into a remote server u can use Win32::AdminMisc::LogonAsUser or Win32::Lanman:NetUseAdd. At 01:43 PM 7/26/05 +0200, Gianvittorio Negri wrote: >I have the need to be able to submit remote administration command to a remote server

Problem with NetResource::CancelConnection

2005-07-26 Thread Gianvittorio Negri
Hi perl..ers At the forst sorry for cross posting I can't decide the best list for submission. Look at the following code (more or less working): ** use Win32::NetResource; my($username,$pw,$mdriveshare,%mdriveinfo,$err); $pw='pwd'; $username