简体   繁体   中英

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? 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).

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM