Copy file to client in LAN

jdemackio

Freshman
Joined
Jun 8, 2004
Messages
42
I have a random machine within a domain that is running my application. This machine contains files that I would like to copy to other machines within the same domain. Anyone know how to do this?
 
jdemackio said:
I have a random machine within a domain that is running my application. This machine contains files that I would like to copy to other machines within the same domain. Anyone know how to do this?

First you will need to find the other machines on the network, you will more then likly have to use the API to do this. Then you should be able to connect to the file system by using UNC Paths to connect. Then all you have to do is use the general filesystem commands to transfer the files.
 
OK, thanks. I never worked with UNC paths. Do you know where I can get a sample of how to use the UNC paths to connect.
 
OK, actually I know what you mean by UNC paths now, however wouldn't this require a shared folder on the target machine? I would assume that there is no way to create a shared folder on some networked machine (without manually doing it on that machine).
 
Back
Top