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
Testing path existence using UNC format
Testing path existence using UNC format
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Testing path existence using UNC format
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.
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
G. N. Rao.
Hyderabad, India
Re: Testing path existence using UNC format
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.
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.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC