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

Hi, I need to check whether directory is present on the samba/nfs server which is mounted to the local drive with drive letter assigned using cgi script. my OS is WinXP, i am using apache server. while i am able to successfully check the directory in command line using if condition (if -d) but not through html-cgi scripts.

Replies are listed 'Best First'.
Re: Check Directory using cgi script
by izut (Chaplain) on Mar 16, 2006 at 10:29 UTC

    Could you post the code you wrote? Can you execute any other simple CGI script? Btw, you can run the CGI script from command line and check any errors.

    Igor 'izut' Sutton
    your code, your rules.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Check Directory using cgi script
by lima1 (Curate) on Mar 16, 2006 at 10:29 UTC
    check permissions.
A reply falls below the community's threshold of quality. You may see it by logging in.