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

I'm working on a perl script on a UNIX computer and I'd like to check if a directory exists on a different UNIX computer on the network. Any recommendations?

Thanks.
  • Comment on Check if directory exists on a remote computer

Replies are listed 'Best First'.
Re: Check if directory exists on a remote computer
by b10m (Vicar) on Jan 22, 2004 at 18:21 UTC

    You give little information, but I'd a look at Net::FTP and or Net::SSH/Net::SFTP if I were you.

    These modules will allow you to log in to the other machine, and thus you can check wheter a dir. exist.

    HTH

    --
    b10m