Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I am new to DFS. I read article How to determine active UNC Path in DFS Programatically[^].
My first starting point is to read the DFS path of exact server location.
Second step would be to create folder in DFS server (physical) and apply ACL to it.
Could you please help with the code. (may be you can help with 1st step and then 2nd)
Thank you.
Posted
Updated 10-Mar-15 9:34am
v3
Comments
Maciej Los 10-Mar-15 15:28pm    
What have you done? Where are you stuck?
Paresh3032894 11-Mar-15 2:45am    
I was working with NTFS folder structure application. Now the servers are migrated to DFS with win2008. Now in new structure the application is not able to create a folder on server share directly. So I need to know the DFS path of the folder so that I can create folder directly on physical server and set permissions on that. The programming language is vb .net.

1 solution

I have got answer from another article but with the same code as in the question. Actually we do not get main server path from server share at 1st level. e.g namespace server S1 and it has namespace Share1$. So when you refer to DfsStorageInfo at this level it shows only parent server and the folder (here the Share1$). But if you click on any shortcuts beyond (down) this level, DfsStorageInfo shows actual location of the server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900