DirList() on Terminal Server (OpenInsight)
At 19 JUN 2000 06:16:09PM Donald Bakke wrote:
We are using DirList() to detect whether a specified path string is a directory or a file. The assumption is that if the path string (i.e. F:\SRP) exists as a directory and not as a file in a directory (i.e. a file called "SRP" in the "F:\" directory) then the DirList() should return a null value.
This has worked very well for sometime but recently we have been experiencing a non-null return value when running the application through Win2000 Terminal Server. We always get 512 as the file size and the correct internal date and time stamp of the directory itself. We've programmed a workaround but I would like to know if anybody else has come across this issue as well.
Thanks,
dbakke@srpcs.com
At 21 JUN 2000 07:04PM David Singer wrote:
I have a client with Citrix on Terminal Server who maps folders to drives (that is, a folder on the server is viewed as a drive by the application). Although I would *expect* the application's use of DirList() to see the "F:\" as a drive, I would be disappointed by not surprised if the *true system value* came back as a folder. DirList() *might* then interpret the result as being a fileā¦
Grasping at straws, I know, but I've seen stranger things happen.
I'm interested in how this resolves for you, because I'm working with other terminal server clients as well.\
David Singer