an XP Professional OS platform with dBase 2.6.1.3 build 2059 BDE 5.2.0.2
On some of my server side apps, I read the content of a directory and list
the content on a response page so the user can click on a link and view the
document on the screen.
The server side app executes the following commands to read the directory (this is actually dBase Code but please read on. The array.dir( ) is a built in method of the dBase array class):
Expand|Select|Wrap|Line Numbers
- cDir = "y:\"+subStr(wkKey,1,2)+"000\"+cSearch+"\"
- wkKey = cSearch + "*.pdf"
- aTemporary = new array()
- nArraySize = aTemporary.dir(cDir + wkKey)
nArraySize=aTemporary.dir("y:\27000\27094\27094*.p df")
I currently have 2 working servers; a production and a test server and they both
run this app and see the files located there. The new server cannot see
these files. However dBase installed on the computer can run the lines
above in the command window and retrive the information.
Also When I copied the data from the y: to the local c: drive of the server,
it was able to read the information in the web app.
The y: drive is a standard xp mapping to another computer that has a shared
folder.
So my thinking is I am overlooking something in the apache server rights /
web space or something else. Any suggestions would be helpful.
Claus