Testing path existence using UNC format

Testing path existence using UNC format

Postby hua » Thu Mar 05, 2020 7:05 am

Hi,
Can somebody confirm whether lIsDir() or IsDirectory() can accept path in UNC format or not?

My test seems to show that they can't.

TIA
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1047
Joined: Fri Oct 28, 2005 2:27 am

Re: Testing path existence using UNC format

Postby nageswaragunupudi » Thu Mar 05, 2020 9:52 am

Both accept UNC path.

When we use IisDir(), trailing slash is optional.
For ISDIRECTORY(), trailing slash should be removed.

I am answering this after testing once again now.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10295
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Testing path existence using UNC format

Postby hua » Thu Mar 05, 2020 10:50 am

Thank you for your quick response Rao.

I'll retest again. I'm using the UNC that points to a NAS, \\basstation

I wonder whether read/write access could affect the result.
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1047
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: SantaCroya and 27 guests