[Israel.pm] How to open a file on a network drive, using CGI.

Gabor Szabo gabor at pti.co.il
Mon May 3 09:54:47 PDT 2004

On Mon, 3 May 2004, roi sh wrote:

> yes: the error is : no such file or directory.
> please note, that running from the network itself, the directory is
> recognized.

Well, then it seems you are not accesing the correct file or the path
to it is missing.  Now what I think we need is the string of the
filename as you pass to open:

open FH, $filename;      # send us what $filename contains

and also the result of the following code in your CGI script:

use Cwd;
warn cwd();


More information about the Perl mailing list