Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Connecting to network shared drive

by NetWallah (Canon)
on May 27, 2008 at 17:10 UTC ( #688699=note: print w/replies, xml ) Need Help??


in reply to Connecting to network shared drive

From your description of the path/drive, it appears that you are accessing the path from some version of Windows.

You do NOT need the absolute path.

The simplest way to read the directory is to use the perl opendir, readdir,closedir functions.

(Of course you need to ensure that you have the appropriate privileges to access the remote directory.

There are modules in CPAN (like File::Set) that will assist polling the directory, and notifying you of changes.

     "A fanatic is one who redoubles his effort when he has forgotten his aim."óGeorge Santayana

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2021-10-20 01:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (78 votes). Check out past polls.

    Notices?