[Israel.pm] access network directories using cgi on a windows (win32) network

Omer Zak omerz at actcom.co.il
Wed Apr 28 23:52:17 PDT 2004


The first questions:
1. Did you check for permission problems?
2. What error value is returned by the opendir() function?
                                             --- Omer
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


On Thu, 29 Apr 2004, roi shemi wrote:

> Hi all.
>
> a cgi script activated from a local computer(windows) post data to a perl
> script located under the
> cgi-bin folder of a network (win32).
>
> the perl script getting the data, activate a module which opens a directory
> on that network andreturns a requested file name from the directory list.
>
> running the perl script from the network, the directory is opened and the
> requested file is returned.
>
> Yet, triggering the perl script using the CGI page, the directory can not
> get opened.
>
> the network is a Win32.
>
> directory is: $dir=\\\\[server name]\\c\$\\[folder name] ;
> the open dir function is: opendir(DIRHANDLE,$dir);
>
> any ideas ?




More information about the Perl mailing list