Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Hyperlinking to Perl script to access network shares.

by Sinistral (Monsignor)
on Jul 22, 2010 at 18:17 UTC ( [id://850882]=note: print w/replies, xml ) Need Help??


in reply to Hyperlinking to Perl script to access network shares.

When you say "open a web browser on the hosting server and click the link", do you mean that you're using File...Open in the browser to open a local file, or that you actually put the same URL (including hostname) into the browser regardless of which machine you're on?

If you're using local file access vs. web server access, that could explain some of the issue. It's possible that the Windows user running the web server does not have permissions to access the shares. If you're running command line, then you're running as some user, perhaps Administrator. That's not the same user that IIS (Apache?) is using

As others have noted, mounting the share as a drive will help some

  • Comment on Re: Hyperlinking to Perl script to access network shares.

Replies are listed 'Best First'.
Re^2: Hyperlinking to Perl script to access network shares.
by Anonymous Monk on Jul 26, 2010 at 15:17 UTC
    The problem was IIS, it was probably using a log in with absolutely no permissions. I switched to Apache and the script works!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://850882]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found