- Christopher Craft
- PowerBuilder
- Wednesday, 1 November 2023 09:18 PM UTC
PB 2022 1900
I have an application that creates files on a file server. Recently we had a customer where the application completely hung up and the issue ended up being that the File Server had issues so when I would fire the DirectoryExists function it would just spin. I can easily replicate this by typing in the path in Windows Explorer but I can't have this happen while they are working in our application.
So, does anyone know a way (or has done this) to make a call to verify that the directory exists without a long timeout? If I can't get to the root directory then I just want to bail and raise an error.
Thanks,
Chris Craft
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.