Brother I have tried evrything but nothing seems to be working... pls check the code below...
in reply to Re^3: Accessing Shared network drive folder
in thread Accessing Shared network drive folder
In the code above the script takes a screen shot at random time. Now I have to upload this image on the linux server's share folder with username and password. I tried Map and Connect both but nothing is working.. The server shared folder path is 192.168.0.24\snapshot.. So pls help me what to do with this ??
$counter = 0 ;
while ($counter < 5)
$datetime1 = time2str("-%d-%m-%Y-%k-%M-%S",time);
$uname = Win32::LoginName() ;
$cname = Win32::NodeName() ;
$uname .= $cname;
$uname .= $datetime1 ;
$image = CaptureScreen(); # Capture Whole screen.
my $random_number = int(rand(15));
print "\n" , $random_number ;
sleep ($random_number ) ;