Directory exist on LAN
Posted: Fri Jun 22, 2018 6:38 am
Hi,
Who know how determine if network (shared) folder exist ?
Function DC_ISDIR() not work for shared folders.
I tryed directory name as \\myserver\TESTFOLDER\ and also \\192.168.10.22\TESTFOLDER\
but no work.
Also not work Fexist(pomdir,"D")
where pomdir:="\\myserver\TESTFOLDER"
Now I can only try test to write some file to this folder, and test if file is created and delete them.
But for read only folder it is impossible.
Who know how determine if network (shared) folder exist ?
Function DC_ISDIR() not work for shared folders.
I tryed directory name as \\myserver\TESTFOLDER\ and also \\192.168.10.22\TESTFOLDER\
but no work.
Also not work Fexist(pomdir,"D")
where pomdir:="\\myserver\TESTFOLDER"
Now I can only try test to write some file to this folder, and test if file is created and delete them.
But for read only folder it is impossible.