[英]How can i get access to unshared folder
I have an unshared folder on server and i want to access to it from clients by c# code.Is there any way to do this? 我的服务器上有一个未共享的文件夹,我想通过C#代码从客户端访问它。有什么办法吗? If yes how? 如果是,怎么办?
please help thanks in advance 请提前帮助谢谢
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). 您需要联系服务器所有者以获取需要共享的文件夹(可能使用某些ACL来限制谁可以访问它)。
If you are a admin (or domain admin) then you can use the implicitly shared C$. 如果您是管理员(或域管理员),则可以使用隐式共享的C $。
If the file is at 'c:\\foo\\bar.html' on server named myserver, then try this: 如果文件位于名为myserver的服务器上的'c:\\ foo \\ bar.html'处,请尝试以下操作:
\\myserver\c$\foo\bar.html
Note that this only works when you are an administrator of the server. 请注意,这仅在您是服务器管理员时才有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.