http://www.perlmonks.org?node_id=30570

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How to I open a file on a network drive

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: How to I open a file on a network drive
by fundflow (Chaplain) on Aug 31, 2000 at 21:08 UTC
    On Unix you need to mount the drive (e.g. via NFS) and put it on the directory tree. Then you'll have something like: /mnt/mountpath/file

    On DOS/Windows, you can try: \\machine\drive\file and if your environment is set up fine it will work.

    Cheers
Re: How to I open a file on a network drive
by jreades (Friar) on Aug 31, 2000 at 20:10 UTC

    You don't say anything about what *kind* of network drive? Or even what kind of network?

    In an ideal world you can mount shared directories and use them as you would a local fs...

    It sounds like you probably can't do this so you might need to switch to treating the network as such and opening a connection to the remote fs.

    Anyway, more information will help I'm sure.