Copying Latest file from one server to 5 serv

Closed
IanW - 17 Sep 2008 à 02:32
 NVerma - 27 Nov 2008 à 07:12
Hello,

I am trying to write a script that will copy an exe with the latest modified date to 5 remote servers.

I was hoping some one would know how to do this as I have failed on both attempts

Thanks
Related:

1 response

Hello Friend,

You can write a web service to resolve this issue. web service will use either FileInfo or file object which is serializable.

File.Copy("source file path", "destination file path", true);

I hope this helps you.

Regards