Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Accessing Shared network drive folder

by vishalkbhatt
on Oct 19, 2011 at 09:05 UTC ( #932331=note: print w/ replies, xml ) Need Help??


in reply to Re: Accessing Shared network drive folder
in thread Accessing Shared network drive folder

I have to access the drive which is connected thru network (LAN) and not the internet. So how to write the password code for it ??


Comment on Re^2: Accessing Shared network drive folder
Re^3: Accessing Shared network drive folder
by Anonymous Monk on Oct 19, 2011 at 09:19 UTC

    I have to access the drive which is connected thru network (LAN) and not the internet. So how to write the password code for it ??

    internet or lan, network is network, so see the links I mentioned, and try some stuff

Re^3: Accessing Shared network drive folder
by Anonymous Monk on Oct 19, 2011 at 10:02 UTC
      Brother I have tried evrything but nothing seems to be working... pls check the code below...
      use Date::Format; use Win32::Capture; $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. $image->SaveToFile("$uname.png"); #$image->SaveToFile("//192.168.0.24/library/vishal/$uname.png"); my $random_number = int(rand(15)); print "\n" , $random_number ; sleep ($random_number ) ; $counter++ ; }
      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 ?? thanks..

        What does "linux server's share" mean?

        I tried Map and Connect both but nothing is working.

        Your code shows neither Map nor Connect

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2014-09-17 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (56 votes), past polls