开发者

How can i get access to unshared folder

开发者 https://www.devze.com 2023-03-07 13:00 出处:网络
I have an unshared fol开发者_开发知识库der on server and i want to access to it from clients by c# code.Is there any way to do this? If yes how?

I have an unshared fol开发者_开发知识库der on server and i want to access to it from clients by c# code.Is there any way to do this? If yes how?

please help thanks in advance


If you are a admin (or domain admin) then you can use the implicitly shared C$.

If the file is at 'c:\foo\bar.html' on server named myserver, then try this:

   \\myserver\c$\foo\bar.html

Note that this only works when you are an administrator of the server.


If it's not shared, then you can't. - the server owner / admin chose (implicitly or explicitly) to not allow clients from other machines to access it. You'll need to contact the server owner to get the folder you need shared (possibly with some ACLs to limit who can access it).

0

精彩评论

暂无评论...
验证码 换一张
取 消