You will not be able to use maped drives if you are running as a service (no network right as local system user).
You can change the foxweb service user to a user on the network that has rights to the remote data and use UNC paths \\server1\datastore
Sent by Gary S on 04/20/2008 03:26:36 PM:
Win2003 SP2 server
IIS Ver 6.0
Foxweb Ver 4.3
When calling the ADIR function with a mapped drive file skeleton it always returns 0 (zero). However calling it with a local drive skeleton it works as expected.
Drive T: is mapped to "computer2\data"
Drive C: contains a copy of computer2\data\info in c:\info
Adir(la1,'t:\info\*.*') will return 0.
Adir(la1,'c:\info\*.*') will return the number of files.