in reply to List files on mapped drive

By default, webserver userids (IUSER_<computer_name> and similar) do not have the privaleges to access network resources. This is a security measure and you should think carefully about the implications before you enable them to do so.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Replies are listed 'Best First'.
Re^2: List files on mapped drive
by Anonymous Monk on Jun 08, 2004 at 05:07 UTC

    Of course, you're assuming that the user is using the IIS server. Apache (on my system anyhow) runs as the local system account.

      In which case, you probably do not suffer the OP's problem, and my answer is therefore inapplicable to your situation.

      It is also possible that the OP is using Apache and has it set up to use a userid that is also severely restricted. In this case, the "or similar" applies. (Vaguely:)


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail