in reply to Re^2: List files on mapped drive
in thread List files on mapped drive

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