Copy files by network
-
I’ve been creating C/S application but I’ve been wondering how to install client module direct by network from server module (I don’t want to install it manually). Main problem is, how to send/copy installation files by network from server module. It is possible to take advantage with administrative shares i.e.: Connect to the host (WNetAddConnection2), Check, if ADMIN$ is available (i.e.: NetShareGetInfo ), Copy files, Execute install file or something else to do, Disconnect (WNetCancelConnection2). Problem is, when administrative shares are disabled. What can I do then ? Any ideas ? ----------- Mila
-
I’ve been creating C/S application but I’ve been wondering how to install client module direct by network from server module (I don’t want to install it manually). Main problem is, how to send/copy installation files by network from server module. It is possible to take advantage with administrative shares i.e.: Connect to the host (WNetAddConnection2), Check, if ADMIN$ is available (i.e.: NetShareGetInfo ), Copy files, Execute install file or something else to do, Disconnect (WNetCancelConnection2). Problem is, when administrative shares are disabled. What can I do then ? Any ideas ? ----------- Mila
If ADMIN$ is unavailable there is nothing you can do. Sorry for that!