Copying Latest file from one server to 5 serv

Closed
IanW - Sep 17, 2008 at 02:32 AM
 NVerma - Nov 27, 2008 at 07:12 AM
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
0