pallu_1920 Ответов: 0

Создание соединения каталогов с веб - сервером на удаленной машине.


I am running C# code from my web application that needs to create a Directory Junction on a remote machine, with a target folder which is also on the same remote machine.
I am using JunctionPoint.cs library from https://www.codeproject.com/Articles/15633/Manipulating-NTFS-Junction-Points-in-NET. 
I am using UNC paths to create the symlink and the destination folders, from my web server. The directory junction does get created. But when I click on it, it says invalid Label, Directory or volume, which I am guessing is because of the UNC Path Target.
I cannot use the CreateSymbolicLink() function from C# as it doesn't create the directory junction.
Can you please guide me what's the best way to achieve this?
Thanks much!


Что я уже пробовал:

Я попробовал CreateSymbolicLink, и он не создает соединение каталогов.
		    
                    

Karthik_Mahalingam

вы должны обратиться непосредственно к автору статьи
Добавить комментарий или вопрос[^]

0 Ответов