RodgerFlint has asked for the wisdom of the Perl Monks concerning the following question:
but doesn't work from the ASP page.use strict; use warnings; use Data::Dumper; my $path = '//myuncserver/wwwroot$'; my @entry = stat($path) or die "Couldn't stat $path : $!"; print Dumper(@entry);
Does anyone have any idea what magic spell I need to cast over IIS to get it to be able to read a UNC path from a ASP PerlScript page?<%@ LANGUAGE="perlscript" > <% use strict; use warnings; use Data::Dumper; use vars qw($Response); my $path = '//myuncserver/wwwroot$'; my @entry = stat($path) or die "Couldn't stat $path : $!"; $Response->Write(Dumper(@entry)) %> PerlScript Error error '80004005' (in cleanup) Couldn't stat //myuncserver/wwwroot$ : No such file or di +rectory /testdir/walk2.asp, line 8
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading UNC File Paths from ASP PerlScripts
by terra incognita (Pilgrim) on Apr 12, 2005 at 16:24 UTC | |
by RodgerFlint (Initiate) on Apr 12, 2005 at 20:24 UTC | |
|
Re: Reading UNC File Paths from ASP PerlScripts
by NetWallah (Canon) on Apr 12, 2005 at 19:52 UTC |